loading module info if non-nil.
This commit is contained in:
parent
6ae822f00e
commit
ba53968d28
@ -105,6 +105,10 @@ unloaded modules are loaded")
|
|||||||
n)))
|
n)))
|
||||||
|
|
||||||
(defun ghc-load-modules (mods)
|
(defun ghc-load-modules (mods)
|
||||||
|
(if (null mods)
|
||||||
|
(progn
|
||||||
|
(message "No new modules")
|
||||||
|
nil)
|
||||||
(ghc-executable-find ghc-module-command
|
(ghc-executable-find ghc-module-command
|
||||||
(ghc-read-lisp-list
|
(ghc-read-lisp-list
|
||||||
(lambda ()
|
(lambda ()
|
||||||
@ -112,7 +116,7 @@ unloaded modules are loaded")
|
|||||||
(apply 'ghc-call-process ghc-module-command nil '(t nil) nil
|
(apply 'ghc-call-process ghc-module-command nil '(t nil) nil
|
||||||
`(,@(ghc-make-ghc-options) "-l" "browse" ,@mods))
|
`(,@(ghc-make-ghc-options) "-l" "browse" ,@mods))
|
||||||
(message "Loading names...done"))
|
(message "Loading names...done"))
|
||||||
(length mods))))
|
(length mods)))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;;
|
;;;
|
||||||
|
Loading…
Reference in New Issue
Block a user