(dabbrev-capf): Fix bug#80645.
* lisp/dabbrev.el (dabbrev-capf): Return an empty table rather than signaling an error when there are no completions. The completion UI already takes care of emitting a message like "No match".
This commit is contained in:
@@ -437,11 +437,6 @@ then it searches *all* buffers."
|
||||
(let ((completion-list
|
||||
(dabbrev--find-all-expansions abbrev ignore-case-p))
|
||||
(completion-ignore-case ignore-case-p))
|
||||
(or (consp completion-list)
|
||||
(user-error "No dynamic expansion for \"%s\" found%s"
|
||||
abbrev
|
||||
(if dabbrev--check-other-buffers
|
||||
"" " in this-buffer")))
|
||||
(setq list
|
||||
(cond
|
||||
((not (and ignore-case-p dabbrev-case-replace))
|
||||
|
||||
Reference in New Issue
Block a user