summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-20 22:40:36 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-20 22:40:36 +0200
commit5f3993bffb01dafb2f7a943ece88753143ccdb04 (patch)
treeeb8f1585b02b7390e28d1494eb4a1205adc74586 /elisp/geiser-completion.el
parent36ad012fd1c5c0a1b1fff02bf3123080901b796e (diff)
downloadgeiser-5f3993bffb01dafb2f7a943ece88753143ccdb04.tar.gz
geiser-5f3993bffb01dafb2f7a943ece88753143ccdb04.tar.bz2
Fixes for module names reading and evaluation result display.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r--elisp/geiser-completion.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index f8449a6..dadf6dd 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -184,13 +184,12 @@ terminates a current completion."
(defun geiser-completion--read-module (&optional prompt default history)
(let ((minibuffer-local-completion-map geiser-completion--module-minibuffer-map))
- (geiser-eval--get-module
- (completing-read (or prompt "Module name: ")
- geiser-completion--module-list-func
- nil nil nil
- (or history geiser-completion--module-history)
- (or default
- (format "%s" (or (geiser-syntax--buffer-module) "")))))))
+ (completing-read (or prompt "Module name: ")
+ geiser-completion--module-list-func
+ nil nil nil
+ (or history geiser-completion--module-history)
+ (or default
+ (format "%s" (or (geiser-syntax--buffer-module) ""))))))
(defun geiser--respecting-message (format &rest format-args)
"Display TEXT as a message, without hiding any minibuffer contents."