ghc-import-module is not called from a hook now.

This commit is contained in:
Kazu Yamamoto 2014-04-21 17:39:45 +09:00
parent 067d3b7535
commit b873784424

View File

@ -237,8 +237,7 @@ unloaded modules are loaded")
(defun ghc-import-module () (defun ghc-import-module ()
(interactive) (interactive)
(when (eq major-mode 'haskell-mode) (ghc-load-module-buffer))
(ghc-load-module-buffer)))
(defun ghc-unloaded-modules (mods) (defun ghc-unloaded-modules (mods)
(ghc-filter (lambda (mod) (ghc-filter (lambda (mod)