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 0bf0800bb8 07/82: dont try to set f


From: ELPA Syncer
Subject: [nongnu] elpa/auto-dim-other-buffers 0bf0800bb8 07/82: dont try to set face on dead buffers
Date: Mon, 12 Dec 2022 20:58:37 -0500 (EST)

branch: elpa/auto-dim-other-buffers
commit 0bf0800bb81872846954b15c9924fc3eadeb2249
Author: Steven Degutis <sbdegutis@gmail.com>
Commit: Steven Degutis <sbdegutis@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))



reply via email to

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