C-xC-s now checks syntax even if not modified.

This commit is contained in:
Kazu Yamamoto
2010-04-23 18:38:11 +09:00
parent 585ebe5e1d
commit e847ed6dab
2 changed files with 8 additions and 0 deletions

View File

@@ -49,4 +49,10 @@
nil)
'end-of-line)))))
(defun ghc-save-buffer ()
(interactive)
(if (buffer-modified-p)
(save-buffer)
(flymake-start-syntax-check)))
(provide 'ghc-command)