[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59862: quit-restore per window buffer
From: |
martin rudalics |
Subject: |
bug#59862: quit-restore per window buffer |
Date: |
Fri, 12 Jul 2024 10:20:32 +0200 |
User-agent: |
Mozilla Thunderbird |
> Ok, I will try to move it.
We could replace the
(or (eq (nth 1 quit-restore) 'frame)
(and (eq (nth 1 quit-restore) 'window)
;; If the window has been created on an existing
;; frame and ended up as the sole window on that
;; frame, do not delete it (Bug#12764).
(not (eq window (frame-root-window window)))))
clause with
(or (eq (nth 1 quit-restore) 'frame)
;; If the window has been created on an existing
;; frame and ended up as the sole window on that
;; frame, do not delete it (Bug#12764).
(not (eq window (frame-root-window window))))
with the motivation that if a window does not have a previous buffer,
there is no reason to switch to it. This will keep the frame around so
Bu#12764 is not affected and the normal behavior of C-h i followed by
C-h e is not affected either unless a user deleted *scratch* in between.
Try it and if it works for you I'll add it to the new patch.
martin
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/08
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/09
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/09
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/10
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/10
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/11
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/11
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/12
- bug#59862: quit-restore per window buffer,
martin rudalics <=
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/14
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/15
- bug#59862: quit-restore per window buffer, Björn Bidar, 2024/07/16
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/16
- bug#59862: quit-restore per window buffer, Björn Bidar, 2024/07/16
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/17
- bug#59862: quit-restore per window buffer, martin rudalics, 2024/07/30
- bug#59862: quit-restore per window buffer, Juri Linkov, 2024/07/31