From 2a05b88174f254933f62a88dacf8a54d70111770 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 9 Mar 2025 07:56:26 +0100 Subject: [PATCH] ; * lisp/dabbrev.el (dabbrev-expansions): Fix infloop. --- lisp/dabbrev.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index bfba153f024..9d75150b084 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -60,7 +60,7 @@ addition to the current buffer and the visible buffers.") (member match more) (member match expansions)) (push match more)))))))))) - (when (and abbrev anchor) + (when (and abbrev (not (string-empty-p abbrev)) anchor) ;; Search the current buffer. (save-excursion (goto-char (point-min)) -- 2.39.5