Variable: rotate-windows-change-selected
rotate-windows-change-selected is a customizable variable defined in
window-x.el.gz.
Value
t
Documentation
Whether rotating windows will change the selected window.
If this is nil, rotate-windows and rotate-windows-back do not change
a frame's selected window. Otherwise, the new selected window will be
the window that appears at the location of the previously selected
window.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/window-x.el.gz
(defcustom rotate-windows-change-selected t
"Whether rotating windows will change the selected window.
If this is nil, `rotate-windows' and `rotate-windows-back' do not change
a frame's selected window. Otherwise, the new selected window will be
the window that appears at the location of the previously selected
window."
:type 'boolean
:version "31.1"
:group 'windows)