setting after-save-hook to nil in ghc-flymake-init.
This commit is contained in:
parent
29243c626c
commit
4207b80fdb
@ -34,7 +34,8 @@
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(defun ghc-flymake-init ()
|
(defun ghc-flymake-init ()
|
||||||
(let ((after-save-hook nil))
|
(let ((before-save-hook nil)
|
||||||
|
(after-save-hook nil))
|
||||||
(save-buffer))
|
(save-buffer))
|
||||||
(let ((file (file-name-nondirectory (buffer-file-name))))
|
(let ((file (file-name-nondirectory (buffer-file-name))))
|
||||||
(list ghc-module-command (ghc-flymake-command file))))
|
(list ghc-module-command (ghc-flymake-command file))))
|
||||||
|
Loading…
Reference in New Issue
Block a user