]> git.eshelyaron.com Git - emacs.git/commitdiff
'dabbrev-buffer-search-condition': Exclude 'image-mode'
authorEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:30:10 +0000 (09:30 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 16 Apr 2025 07:30:10 +0000 (09:30 +0200)
lisp/dabbrev.el

index a0f8134f8cbafcd5edcae8732aa7604f32832b0f..f4986ea61a3ce9574e76c725a4ff69f2bd6cbb66 100644 (file)
@@ -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