Function: next-window-any-frame

next-window-any-frame is an interactive and byte-compiled function defined in frame.el.gz.

Signature

(next-window-any-frame)

Documentation

Select the next window, regardless of which frame it is on.

View in manual

Probably introduced at or before Emacs version 27.1.

Key Bindings

Aliases

next-multiframe-window

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun next-window-any-frame ()
  "Select the next window, regardless of which frame it is on."
  (interactive)
  (select-window (next-window (selected-window)
			      (> (minibuffer-depth) 0)
			      0))
  (select-frame-set-input-focus (selected-frame)))