branch: elpa/auto-dim-other-buffers
commit 774fe859f85f7d344bc759f4a8e238e3fa59e7d3
Author: Michal Nazarewicz <min...@mina86.com>
Commit: Michal Nazarewicz <min...@mina86.com>

    Fix ‘auto-dim-other-buffers-dim-on-switch-to-minibuffer’ behaviour
    
    Last commit swapped the meaning of ‘dim on switch to minibuffer’
    customisation.  Fix the issue.
---
 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 875988ced3..27cfbaf69d 100644
--- a/auto-dim-other-buffers.el
+++ b/auto-dim-other-buffers.el
@@ -9,7 +9,7 @@
 ;;     Michal Nazarewicz <min...@mina86.com>
 ;; Maintainer: Michal Nazarewicz <min...@mina86.com>
 ;; URL: https://github.com/mina86/auto-dim-other-buffers.el
-;; Version: 1.9.3
+;; Version: 1.9.4
 
 ;; This file is not part of GNU Emacs.
 
@@ -106,7 +106,7 @@ Currently only mini buffer and echo areas are ignored."
         (unless (adob--never-dim-p (current-buffer))
           (adob--dim-buffer))
       (unless (or (eq buf adob--last-buffer)
-                  (and auto-dim-other-buffers-dim-on-switch-to-minibuffer
+                  (and (not auto-dim-other-buffers-dim-on-switch-to-minibuffer)
                        (minibufferp buf)))
         ;; Buffer has changed.  Dim the old one and undim the new.
         (and (buffer-live-p adob--last-buffer)

Reply via email to