From 8ae67a5f667afa09227343326d434e7d137035d6 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Thu, 7 Jan 2010 10:51:05 +0900 Subject: [PATCH] warning msg if ghc-mod does not exist. --- elisp/ghc-comp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elisp/ghc-comp.el b/elisp/ghc-comp.el index a4a9ea6..878f978 100644 --- a/elisp/ghc-comp.el +++ b/elisp/ghc-comp.el @@ -50,7 +50,8 @@ ;;; (defun ghc-load-keyword (&rest args) - (when (ghc-which ghc-module-command) + (if (not (ghc-which ghc-module-command)) + (message "%s not found" ghc-module-command) (ghc-read-lisp (lambda () (let ((msg (mapconcat 'identity (cons ghc-module-command args) " ")))