ghc-mod root.

This commit is contained in:
Kazu Yamamoto
2014-03-20 16:21:48 +09:00
parent 1a1ee0f3ae
commit ee6dc2fc47
5 changed files with 30 additions and 5 deletions

View File

@@ -40,7 +40,9 @@
(defun ghc-save-buffer ()
(interactive)
(if (buffer-modified-p) (call-interactively 'save-buffer))
;; fixme: better way then saving?
(set-buffer-modified-p t)
(call-interactively 'save-buffer)
(ghc-check-syntax))
(provide 'ghc-command)