X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/086add1519b5c5a69a1a35aadbfd4d7cc6a2b294..b0c9a334c2f0eb881eff47f590997e746cc3bdb3:/lisp/compare-w.el diff --git a/lisp/compare-w.el b/lisp/compare-w.el index e0a6d5cf73..3fda5f5de7 100644 --- a/lisp/compare-w.el +++ b/lisp/compare-w.el @@ -1,6 +1,7 @@ ;;; compare-w.el --- compare text between windows for Emacs -;; Copyright (C) 1986,1989,1993,1997,2003,2004,2005 Free Software Foundation, Inc. +;; Copyright (C) 1986, 1989, 1993, 1997, 2002, 2003, 2004, +;; 2005 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: convenience files @@ -56,7 +57,8 @@ whitespace is considered to match, and is skipped." (defcustom compare-ignore-whitespace nil "*Non-nil means `compare-windows' ignores whitespace." :type 'boolean - :group 'compare-w) + :group 'compare-w + :version "22.1") (defcustom compare-ignore-case nil "*Non-nil means `compare-windows' ignores case differences." @@ -88,7 +90,8 @@ be made buffer-local. If the value of this variable is `nil', then function `ding' is called to beep or flash the screen when points are mismatched." :type '(choice regexp function) - :group 'compare-w) + :group 'compare-w + :version "22.1") (defcustom compare-windows-sync-string-size 32 "*Size of string from one window that is searched in second window. @@ -99,7 +102,8 @@ difference regions more coarse-grained. The default value 32 is good for the most cases." :type 'integer - :group 'compare-w) + :group 'compare-w + :version "22.1") (defcustom compare-windows-recenter nil "*List of two values, each of which is used as argument of @@ -109,25 +113,20 @@ matching points side-by-side. The value `(-1 0)' is useful if windows are split vertically, and the value `((4) (4))' for horizontally split windows." :type '(list sexp sexp) - :group 'compare-w) + :group 'compare-w + :version "22.1") (defcustom compare-windows-highlight t "*Non-nil means compare-windows highlights the differences." :type 'boolean - :group 'compare-w) + :group 'compare-w + :version "22.1") (defface compare-windows - '((((class color) (min-colors 88) (background light)) - (:background "paleturquoise")) - (((class color) (min-colors 88) (background dark)) - (:background "paleturquoise4")) - (((class color)) - (:background "turquoise3")) - (t (:underline t))) + '((t :inherit lazy-highlight)) "Face for highlighting of compare-windows difference regions." - :group 'compare-w) -;; backward-compatibility alias -(put 'compare-windows-face 'face-alias 'compare-windows) + :group 'compare-w + :version "22.1") (defvar compare-windows-overlay1 nil) (defvar compare-windows-overlay2 nil)