displaying also a function name.
This commit is contained in:
parent
ea915993fa
commit
fa0d97cf24
@ -28,9 +28,8 @@
|
|||||||
(setq mods (ghc-function-to-modules fun))
|
(setq mods (ghc-function-to-modules fun))
|
||||||
(if (null mods)
|
(if (null mods)
|
||||||
(message "No module guessed")
|
(message "No module guessed")
|
||||||
(let* ((fmt (if prefix
|
(let* ((key (or prefix fun))
|
||||||
(concat "Module name for \"" prefix "\" (%s): ")
|
(fmt (concat "Module name for \"" key "\" (%s): "))
|
||||||
"Module name (%s): "))
|
|
||||||
(mod (ghc-completing-read fmt mods)))
|
(mod (ghc-completing-read fmt mods)))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(ghc-goto-module-position)
|
(ghc-goto-module-position)
|
||||||
|
Loading…
Reference in New Issue
Block a user