From: Eshel Yaron Date: Wed, 16 Apr 2025 07:30:10 +0000 (+0200) Subject: 'dabbrev-buffer-search-condition': Exclude 'image-mode' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90f4be5022c56bf5d6a8a22ecb4cdde3c7f44807;p=emacs.git 'dabbrev-buffer-search-condition': Exclude 'image-mode' --- 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