loading module info if non-nil.
This commit is contained in:
parent
6ae822f00e
commit
ba53968d28
@ -105,14 +105,18 @@ unloaded modules are loaded")
|
||||
n)))
|
||||
|
||||
(defun ghc-load-modules (mods)
|
||||
(ghc-executable-find ghc-module-command
|
||||
(ghc-read-lisp-list
|
||||
(lambda ()
|
||||
(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))))
|
||||
(if (null mods)
|
||||
(progn
|
||||
(message "No new modules")
|
||||
nil)
|
||||
(ghc-executable-find ghc-module-command
|
||||
(ghc-read-lisp-list
|
||||
(lambda ()
|
||||
(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