summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r--elisp/geiser-completion.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index 22b36a1..fd22044 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -145,10 +145,10 @@ terminates a current completion."
;;; Completion functionality:
(defsubst geiser-completion--symbol-list (prefix)
- (geiser-eval--send/result `(:gs ((:ge completions) ,prefix))))
+ (geiser-eval--send/result `(:eval ((:ge completions) ,prefix))))
(defsubst geiser-completion--module-list ()
- (geiser-eval--send/result '(:gs ((:ge all-modules)))))
+ (geiser-eval--send/result '(:eval ((:ge all-modules)))))
(defvar geiser-completion--symbol-list-func
(completion-table-dynamic 'geiser-completion--symbol-list))
@@ -178,7 +178,7 @@ terminates a current completion."
(completing-read (or prompt "Module name: ")
(geiser-completion--module-list)
nil nil
- (or default (geiser-syntax--buffer-module))
+ (or default (format "%s" (or (geiser-syntax--buffer-module) "(")))
(or history geiser-completion--module-history))))
(defun geiser--respecting-message (format &rest format-args)