branch: elpa/auto-dim-other-buffers commit 53dd9b68fb0cf902feaeba5162c63cdfde041ac4 Author: Michal Nazarewicz <min...@mina86.com> Commit: Michal Nazarewicz <min...@mina86.com>
Ignore all hidden buffers Instead of ignoring just the Echo Area buffers, ignore all hidden buffers, i.e. buffers whose name starts with a space. Those should never be displayed so there’s no point in wasting time on them. --- auto-dim-other-buffers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el index 9a5162872e..0fe7f66344 100644 --- a/auto-dim-other-buffers.el +++ b/auto-dim-other-buffers.el @@ -8,7 +8,7 @@ ;; Michal Nazarewicz <min...@mina86.com> ;; Maintainer: Michal Nazarewicz <min...@mina86.com> ;; URL: https://github.com/mina86/auto-dim-other-buffers.el -;; Version: 1.8.2 +;; Version: 1.8.3 ;; This file is not part of GNU Emacs. @@ -77,7 +77,7 @@ Currently only mini buffer and echo areas are ignored." (or (null buffer) (minibufferp buffer) - (string-match "^ \\*Echo Area" (buffer-name buffer)))) + (string-prefix-p " " (buffer-name buffer)))) (defvar-local adob--face-mode-remapping nil "Current remapping cookie for `auto-dim-other-buffers-mode'.")