emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/auto-dim-other-buffers 53dd9b68fb 59/82: Ignore all hidden


From: ELPA Syncer
Subject: [nongnu] elpa/auto-dim-other-buffers 53dd9b68fb 59/82: Ignore all hidden buffers
Date: Mon, 12 Dec 2022 20:58:44 -0500 (EST)

branch: elpa/auto-dim-other-buffers
commit 53dd9b68fb0cf902feaeba5162c63cdfde041ac4
Author: Michal Nazarewicz <mina86@mina86.com>
Commit: Michal Nazarewicz <mina86@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 <mina86@mina86.com>
 ;; Maintainer: Michal Nazarewicz <mina86@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'.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]