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 e9c886fac5 42/82: Use even number o


From: ELPA Syncer
Subject: [nongnu] elpa/auto-dim-other-buffers e9c886fac5 42/82: Use even number of arguments for `setq'
Date: Mon, 12 Dec 2022 20:58:41 -0500 (EST)

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

    Use even number of arguments for `setq'
    
    In the past `setq' could have been called with odd number of arguments
    which resulted with the last variable being set to nil.  This is no
    loger supported (since Emacs 25.1) so make sure even number is used.
---
 auto-dim-other-buffers.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el
index ada63aabc4..3a7cc93576 100644
--- a/auto-dim-other-buffers.el
+++ b/auto-dim-other-buffers.el
@@ -83,7 +83,7 @@ Currently only mini buffer and echo areas are ignored."
             (face-remap-add-relative 'default 'auto-dim-other-buffers-face))
     (when adob--face-mode-remapping
       (face-remap-remove-relative adob--face-mode-remapping)
-      (setq adob--face-mode-remapping)))
+      (setq adob--face-mode-remapping nil)))
   (force-window-update (current-buffer)))
 
 (defun adob--post-command-hook ()



reply via email to

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