the nature of the difference units separator. The variable can
be made buffer-local.
-If the value of this variable is `nil' (option \"No sync\"), then
+If the value of this variable is nil (option \"No sync\"), then
no synchronization is performed, and the function `ding' is called
to beep or flash the screen when points are mismatched."
:type '(choice function regexp (const :tag "No sync" nil))
(defface compare-windows-removed
'((t :inherit diff-removed))
- "Face for highlighting of compare-windows removed regions."
+ "Face for highlighting `compare-windows' differing regions in the other window."
:group 'compare-windows
:version "25.1")
(defface compare-windows-added
'((t :inherit diff-added))
- "Face for highlighting of compare-windows added regions."
+ "Face for highlighting `compare-windows' differing regions in current window."
:group 'compare-windows
:version "25.1")
(defvar compare-windows-overlays2 nil)
(defvar compare-windows-sync-point nil)
-(defcustom compare-windows-get-window-function 'compare-windows-get-recent-window
+(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-next-window)
(function :tag "Your function"))
:group 'compare-windows
- :version "25.0")
+ :version "25.1")
(defun compare-windows-get-recent-window ()
"Return the most recently used window.