Don't look for ghc-modi in ghc-debug, fix #526
This commit is contained in:
parent
5b30fdde29
commit
c71528c574
@ -133,20 +133,17 @@
|
||||
(let ((el-path (locate-file "ghc.el" load-path))
|
||||
(ghc-path (executable-find "ghc")) ;; FIXME
|
||||
(ghc-mod-path (executable-find ghc-module-command))
|
||||
(ghc-modi-path (executable-find ghc-interactive-command))
|
||||
(el-ver ghc-version)
|
||||
(ghc-ver (ghc-run-ghc-mod '("--version") "ghc"))
|
||||
(ghc-mod-ver (ghc-run-ghc-mod '("version")))
|
||||
(ghc-modi-ver (ghc-run-ghc-mod '("version") ghc-interactive-command))
|
||||
(path (getenv "PATH")))
|
||||
(switch-to-buffer (get-buffer-create "**GHC Debug**"))
|
||||
(erase-buffer)
|
||||
(insert "Path: check if you are using intended programs.\n")
|
||||
(insert (format "\t ghc.el path: %s\n" el-path))
|
||||
(insert (format "\t ghc-mod path: %s\n" ghc-mod-path))
|
||||
(insert (format "\tghc-modi path: %s\n" ghc-modi-path))
|
||||
(insert (format "\t ghc path: %s\n" ghc-path))
|
||||
(insert "\nVersion: all versions must be the same.\n")
|
||||
(insert "\nVersion: all GHC versions must be the same.\n")
|
||||
(insert (format "\t ghc.el version %s\n" el-ver))
|
||||
(insert (format "\t %s\n" ghc-mod-ver))
|
||||
(insert (format "\t%s\n" ghc-modi-ver))
|
||||
|
Loading…
Reference in New Issue
Block a user