diff options
author | Alan Mackenzie <acm@muc.de> | 2022-05-28 12:55:32 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-05-28 12:55:32 +0000 |
commit | f9ee83bfb9f09a32ca8c15385f0cd3ec12ebde8c (patch) | |
tree | a343a5a1dbcba985cbfc9ee0602f9d9f4d85740f /test/lisp/emacs-lisp | |
parent | 908e2e09d08c8058f40295096aec9251944875ca (diff) | |
download | emacs-f9ee83bfb9f09a32ca8c15385f0cd3ec12ebde8c.tar.gz emacs-f9ee83bfb9f09a32ca8c15385f0cd3ec12ebde8c.tar.bz2 emacs-f9ee83bfb9f09a32ca8c15385f0cd3ec12ebde8c.zip |
do_switch_frame: before leaving mini-window, check other (mru) window is live
This fixes bug#55684. There, with a minibuffer-only frame at start up,
Emacs tried to switch to this frame, whose selected window was the
mini-window. There is no other active window in this frame, so the
attempt to swith to another window failed.
* src/frame.c (do_switch_frame): On switching to a frame whose selected
window is as above, before selecting the most recently used window, check
this ostensible window is an actual live window. Otherwise leave the
mini-window selected.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions