diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 05:30:34 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 05:30:34 +0100 |
commit | 398cdbed93912ee863f111eb7048a252d232391c (patch) | |
tree | 7d34be3d457acc0d4ec0a5ba91a9fddd3b502c90 | |
parent | 629f38d05e35faba3655936c68500785dba148a2 (diff) | |
download | geiser-chez-398cdbed93912ee863f111eb7048a252d232391c.tar.gz geiser-chez-398cdbed93912ee863f111eb7048a252d232391c.tar.bz2 |
Even better message on completion failure
-rw-r--r-- | elisp/geiser-completion.el | 8 |
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) |