branch: elpa/auto-dim-other-buffers commit e9c886fac5cf482029e3e8998e2f1ef881e9db09 Author: Michal Nazarewicz <min...@mina86.com> Commit: Michal Nazarewicz <min...@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 ()