branch: elpa/auto-dim-other-buffers commit 0bf0800bb81872846954b15c9924fc3eadeb2249 Author: Steven Degutis <sbdegu...@gmail.com> Commit: Steven Degutis <sbdegu...@gmail.com>
dont try to set face on dead buffers --- auto-dim-other-buffers.el | 1 + 1 file changed, 1 insertion(+) diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el index cfb49523c4..b41f4f6e05 100644 --- a/auto-dim-other-buffers.el +++ b/auto-dim-other-buffers.el @@ -19,6 +19,7 @@ (let ((original (current-buffer))) (unless (eq original adob/last-buffer) ;; if we haven't switched buffers, do nothing (when (and adob/last-buffer + (buffer-live-p adob/last-buffer) (not (minibufferp adob/last-buffer))) (set-buffer adob/last-buffer) (buffer-face-set auto-dim-other-buffers-face))