(lisp-complete-symbol):
Use `minibuffer-message' to display message "No completions of %s" when this command is called in the minibuffer.
This commit is contained in:
parent
df27f31fa6
commit
ec800cf0a2
2 changed files with 7 additions and 1 deletions
|
@ -667,7 +667,9 @@ considered."
|
|||
(completion (try-completion pattern obarray predicate)))
|
||||
(cond ((eq completion t))
|
||||
((null completion)
|
||||
(message "Can't find completion for \"%s\"" pattern)
|
||||
(if (window-minibuffer-p (selected-window))
|
||||
(minibuffer-message (format " [No completions of \"%s\"]" pattern))
|
||||
(message "Can't find completion for \"%s\"" pattern))
|
||||
(ding))
|
||||
((not (string= pattern completion))
|
||||
(delete-region beg end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue