emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 369b4171e8: Avoid sometimes selecting killed buffe


From: ELPA Syncer
Subject: [elpa] externals/exwm 369b4171e8: Avoid sometimes selecting killed buffers (#87)
Date: Mon, 18 Nov 2024 06:57:57 -0500 (EST)

branch: externals/exwm
commit 369b4171e8167bab76091f94b8b5b9021976f6cd
Author: Garklein <63201615+Garklein@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Avoid sometimes selecting killed buffers (#87)
    
    * exwm-layout.el (exwm-layout--refresh-workspace): avoid selecting deleted 
buffers.
    
    Copyright-paperwork-exempt: yes
---
 exwm-layout.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exwm-layout.el b/exwm-layout.el
index 5adb54ace9..5a0b217613 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -385,6 +385,7 @@ If FRAME is nil, refresh layout of selected frame."
                                     (car-safe (window-prev-buffers window)))))
                   (and
                    prev-buffer
+                   (buffer-live-p prev-buffer)
                    (with-current-buffer prev-buffer
                      (derived-mode-p 'exwm-mode))
                    (push prev-buffer covered-buffers)))))))))



reply via email to

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