aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/frameset.el
diff options
context:
space:
mode:
authorHelmut Eller2026-02-13 09:10:16 +0100
committerHelmut Eller2026-02-13 09:10:16 +0100
commit91c9e9883488d715a30877dfd7641ef4b3c62658 (patch)
treee2c4525147e443f86baf9d0144aeadec082d7564 /lisp/frameset.el
parent9a4a54af9192a6653164364c75721ee814ffb1e8 (diff)
parentf1fe4d46190263e164ccd1e066095d46a156297f (diff)
downloademacs-feature/igc.tar.gz
emacs-feature/igc.zip
Merge branch 'master' into feature/igcfeature/igc
Diffstat (limited to 'lisp/frameset.el')
-rw-r--r--lisp/frameset.el15
1 files changed, 12 insertions, 3 deletions
diff --git a/lisp/frameset.el b/lisp/frameset.el
index 85a90f67c68..e11a1da7e9b 100644
--- a/lisp/frameset.el
+++ b/lisp/frameset.el
@@ -1362,9 +1362,18 @@ All keyword parameters default to nil."
1362 ;; Clean up the frame list 1362 ;; Clean up the frame list
1363 (when cleanup-frames 1363 (when cleanup-frames
1364 (let ((map nil) 1364 (let ((map nil)
1365 (cleanup (if (eq cleanup-frames t) 1365 (cleanup
1366 (lambda (frame action) 1366 (if (eq cleanup-frames t)
1367 (when (memq action '(:rejected :ignored)) 1367 (lambda (frame action)
1368 (when (and (memq action '(:rejected :ignored))
1369 ;; Don't try deleting the daemon's initial
1370 ;; frame, as that would only trigger
1371 ;; warnings.
1372 (not
1373 (and (daemonp)
1374 (equal (terminal-name (frame-terminal
1375 frame))
1376 "initial_terminal"))))
1368 (delete-frame frame))) 1377 (delete-frame frame)))
1369 cleanup-frames))) 1378 cleanup-frames)))
1370 (maphash (lambda (frame _action) (push frame map)) frameset--action-map) 1379 (maphash (lambda (frame _action) (push frame map)) frameset--action-map)