summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 05:30:34 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 05:30:34 +0100
commit398cdbed93912ee863f111eb7048a252d232391c (patch)
tree7d34be3d457acc0d4ec0a5ba91a9fddd3b502c90 /elisp
parent629f38d05e35faba3655936c68500785dba148a2 (diff)
downloadgeiser-chez-398cdbed93912ee863f111eb7048a252d232391c.tar.gz
geiser-chez-398cdbed93912ee863f111eb7048a252d232391c.tar.bz2
Even better message on completion failure
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)