From a7d05207214e798760949a88e2cf221e3f19b588 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 21 Mar 2026 22:53:13 -0400 Subject: [PATCH] (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". --- lisp/dabbrev.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index ed7cad4d6da..0e3c8bf6a5f 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -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))