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 | 4d80d6fc32171c6356ec5081a194e8b136e9c87b (patch) | |
tree | e79c73348e3112e3ff873ba1bbc39cd0e721aa23 /elisp/geiser-completion.el | |
parent | 238deb7981f17953b2ae61d81720f1e99a6c73f2 (diff) | |
download | geiser-4d80d6fc32171c6356ec5081a194e8b136e9c87b.tar.gz geiser-4d80d6fc32171c6356ec5081a194e8b136e9c87b.tar.bz2 |
Even better message on completion failure
Diffstat (limited to 'elisp/geiser-completion.el')
-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) |