Calling save-buffer interactively.

from Troels Henriksen.
This commit is contained in:
Kazu Yamamoto 2012-08-03 12:44:28 +09:00
parent eedca795e1
commit 256eec740c
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
(defun ghc-save-buffer ()
(interactive)
(if (buffer-modified-p)
(save-buffer)
(call-interactively 'save-buffer)
(flymake-start-syntax-check)))
(provide 'ghc-command)