diff options
Diffstat (limited to 'lisp/frameset.el')
| -rw-r--r-- | lisp/frameset.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/frameset.el b/lisp/frameset.el index e11a1da7e9b..0dde10869fd 100644 --- a/lisp/frameset.el +++ b/lisp/frameset.el | |||
| @@ -1370,12 +1370,10 @@ All keyword parameters default to nil." | |||
| 1370 | ;; frame, as that would only trigger | 1370 | ;; frame, as that would only trigger |
| 1371 | ;; warnings. | 1371 | ;; warnings. |
| 1372 | (not | 1372 | (not |
| 1373 | (and (daemonp) | 1373 | (and (daemonp) ;; FIXME: Remove `daemonp'? |
| 1374 | (equal (terminal-name (frame-terminal | 1374 | (frame-initial-p frame)))) |
| 1375 | frame)) | 1375 | (delete-frame frame))) |
| 1376 | "initial_terminal")))) | 1376 | cleanup-frames))) |
| 1377 | (delete-frame frame))) | ||
| 1378 | cleanup-frames))) | ||
| 1379 | (maphash (lambda (frame _action) (push frame map)) frameset--action-map) | 1377 | (maphash (lambda (frame _action) (push frame map)) frameset--action-map) |
| 1380 | (dolist (frame (sort map | 1378 | (dolist (frame (sort map |
| 1381 | ;; Minibufferless frames must go first to avoid | 1379 | ;; Minibufferless frames must go first to avoid |