defining ghc-executable-find.
This commit is contained in:
@@ -77,8 +77,7 @@
|
||||
|
||||
(defun ghc-show-type ()
|
||||
(interactive)
|
||||
(if (not (executable-find ghc-module-command))
|
||||
(message "%s not found" ghc-module-command)
|
||||
(ghc-executable-find ghc-module-command
|
||||
(let ((modname (or (ghc-find-module-name) "Main")))
|
||||
(ghc-show-type0 modname))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user