summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-completion.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index 33593b6..caa529e 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -238,13 +238,13 @@ With prefix, complete module name."
(cond ((null completions)
(if (not arg)
(geiser-completion--complete-symbol t prefix)
- (geiser--respecting-message "Can't find completion for %S%s"
- prefix
+ (geiser--respecting-message "Can't find completion for %s"
(if (and previous
(not (equalp previous
prefix)))
- (format " or %S" previous)
- ""))
+ (format "%S or %S"
+ previous prefix)
+ prefix))
(geiser-completion--restore-window-cfg)))
(t (insert-and-inherit (substring partial (length prefix)))
(cond ((= (length completions) 1)