* doc/lispref/windows.texi (Cyclic Window Ordering):
* lisp/window.el (other-window): Document ALL-FRAMES in interactive
invocations.
(cherry picked from commit
e4908623f2351fe00332fba461b779c9a41a70a1)
The optional argument @var{all-frames} has the same meaning as in
@code{next-window}, like a @code{nil} @var{minibuf} argument to
-@code{next-window}.
+@code{next-window}. When called interactively, @var{all-frames} is
+always @code{nil}, so only windows on the selected frame can be
+selected.
If the @code{other-window} parameter of the selected window is a
function, and @code{ignore-window-parameters} is @code{nil}, that
This function uses `next-window' for finding the window to
select. The argument ALL-FRAMES has the same meaning as in
`next-window', but the MINIBUF argument of `next-window' is
-always effectively nil."
+always effectively nil. Interactively, ALL-FRAMES is always
+nil, which considers all windows on the selected frame."
(interactive "p\ni\np")
(let* ((window (selected-window))
(original-window window)