# HG changeset patch # User Richard M. Stallman # Date 754123586 0 # Node ID d39a061f984a0079787c210aeb71cb3445021cef # Parent fd78458b8c4374ef215f8e028b4bf99c1bab7641 (walk-windows): If start at minibuf window, do return to it. diff -r fd78458b8c43 -r d39a061f984a lisp/subr.el --- a/lisp/subr.el Wed Nov 24 06:39:54 1993 +0000 +++ b/lisp/subr.el Wed Nov 24 06:46:26 1993 +0000 @@ -75,6 +75,9 @@ 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