Function: previous-window-any-frame

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

Signature

(previous-window-any-frame)

Documentation

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

Probably introduced at or before Emacs version 27.1.

Key Bindings

Aliases

previous-multiframe-window

Source Code

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