From b873784424140d762580e112601283dd5a25a6ff Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 21 Apr 2014 17:39:45 +0900 Subject: [PATCH] ghc-import-module is not called from a hook now. --- elisp/ghc-comp.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/elisp/ghc-comp.el b/elisp/ghc-comp.el index 6f900a7..6a7367e 100644 --- a/elisp/ghc-comp.el +++ b/elisp/ghc-comp.el @@ -237,8 +237,7 @@ unloaded modules are loaded") (defun ghc-import-module () (interactive) - (when (eq major-mode 'haskell-mode) - (ghc-load-module-buffer))) + (ghc-load-module-buffer)) (defun ghc-unloaded-modules (mods) (ghc-filter (lambda (mod)