better loading of symbols.
symbols of modules are loaded when a Haskell file is opened on Emacs. idle timer is still effective. M-C-e is obsoleted. M-C-m loads symbols of all un-loaded modules.
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
(interactive)
|
||||
(save-excursion
|
||||
(beginning-of-line)
|
||||
(if (looking-at "^import +\\(qualified +\\)?\\([^ (\n]+\\)")
|
||||
(match-string-no-properties 2))))
|
||||
(if (looking-at "^\\(import\\|module\\) +\\(qualified +\\)?\\([^ (\n]+\\)")
|
||||
(match-string-no-properties 3))))
|
||||
|
||||
(defun ghc-read-module-name (def)
|
||||
(read-from-minibuffer "Module name: " def ghc-input-map))
|
||||
|
||||
Reference in New Issue
Block a user