From 90f4be5022c56bf5d6a8a22ecb4cdde3c7f44807 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 16 Apr 2025 09:30:10 +0200 Subject: [PATCH] 'dabbrev-buffer-search-condition': Exclude 'image-mode' --- lisp/dabbrev.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index a0f8134f8cb..f4986ea61a3 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -29,7 +29,7 @@ "Maximum number of character to scan from dynamic expansions.") (defvar dabbrev-buffer-search-condition - '(not (or (derived-mode . special-mode) "^ ")) + '(not (or (derived-mode . special-mode) (derived-mode . image-mode) "^ ")) "Condition for searching a buffer for dynamic abbreviation expansions. Dabbrev calls `match-buffers' (which see) with the value of this variable as the CONDITION argument, and searchs the matching buffers in -- 2.39.5