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

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

[nongnu] elpa/workroom bb74cce814 60/74: Fix error when a frame is kille


From: ELPA Syncer
Subject: [nongnu] elpa/workroom bb74cce814 60/74: Fix error when a frame is killed
Date: Sun, 27 Nov 2022 16:03:29 -0500 (EST)

branch: elpa/workroom
commit bb74cce814ff2d873235a26f003cea57089333d0
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Fix error when a frame is killed
---
 workroom.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workroom.el b/workroom.el
index 7091645b85..e3f9fdb874 100644
--- a/workroom.el
+++ b/workroom.el
@@ -404,7 +404,7 @@ written to a string (or file) and read back.
 
 This is expensive, because it can recalculate the window configuration
 and returns a copy of it."
-  (when (workroom--view-frame view)
+  (when (frame-live-p (workroom--view-frame view))
     (setf (workroom--view-window-config (workroom-current-view))
           (workroom--frame-window-config
            (workroom--view-frame view)))



reply via email to

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