mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(walk-windows): If start at minibuf window, do return to it.
This commit is contained in:
parent
1fb20991bf
commit
7a18f5c2af
@ -75,6 +75,9 @@ ALL-FRAMES nil or omitted means cycle within the selected frame,
|
||||
but include the minibuffer window (if MINIBUF says so) that that
|
||||
frame uses, even if it is on another frame.
|
||||
If ALL-FRAMES is neither nil nor t, stick strictly to the selected frame."
|
||||
;; If we start from the minibuffer window, don't fail to come back to it.
|
||||
(if (window-minibuffer-p (selected-window))
|
||||
(setq minibuf t))
|
||||
(let* ((walk-windows-start (selected-window))
|
||||
(walk-windows-current walk-windows-start))
|
||||
(while (progn
|
||||
|
Loading…
Reference in New Issue
Block a user