diff options
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index e2569eb..d2991b2 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -181,11 +181,13 @@ terminates a current completion." (defun geiser-completion--read-module (&optional prompt default history) (let ((minibuffer-local-completion-map geiser-completion--module-minibuffer-map)) - (completing-read (or prompt "Module name: ") - (geiser-completion--module-list) - nil nil - (or default (format "%s" (or (geiser-syntax--buffer-module) "("))) - (or history geiser-completion--module-history)))) + (geiser-eval--get-module + (completing-read (or prompt "Module name: ") + (geiser-completion--module-list) + nil nil + (or default + (format "%s" (or (geiser-syntax--buffer-module) "("))) + (or history geiser-completion--module-history))))) (defun geiser--respecting-message (format &rest format-args) "Display TEXT as a message, without hiding any minibuffer contents." |