Variable: compare-windows-get-window-function

compare-windows-get-window-function is a customizable variable defined in compare-w.el.gz.

Value

compare-windows-get-recent-window

Documentation

Function that provides the window to compare with.

This variable was added, or its default value changed, in Emacs 25.1.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/compare-w.el.gz
(defcustom compare-windows-get-window-function
  'compare-windows-get-recent-window
  "Function that provides the window to compare with."
  :type '(choice
	  (function-item :tag "Most recently used window"
			 compare-windows-get-recent-window)
	  (function-item :tag "Next window"
			 compare-windows-get-next-window)
	  (function :tag "Your function"))
  :version "25.1")