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