Function: compare-windows-get-recent-window

compare-windows-get-recent-window is a byte-compiled function defined in compare-w.el.gz.

Signature

(compare-windows-get-recent-window)

Documentation

Return the most recently used window.

First try to get the most recently used window on a visible frame, then try to get a window on an iconified frame, and finally consider all existing frames.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/compare-w.el.gz
(defun compare-windows-get-recent-window ()
  "Return the most recently used window.
First try to get the most recently used window on a visible frame,
then try to get a window on an iconified frame, and finally
consider all existing frames."
  (or (get-mru-window 'visible t t)
      (get-mru-window 0 t t)
      (get-mru-window t t t)
      (error "No other window")))