aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2007-03-25 09:29:32 +0000
committerJuri Linkov2007-03-25 09:29:32 +0000
commit84d6b04be16f0e093dcf343e72f35344ec1ddb0f (patch)
treec509afceb7e927a966ff2249ca059eed76ed167d
parente7d4a9040500018652ec1e626e4eb349c406764e (diff)
downloademacs-84d6b04be16f0e093dcf343e72f35344ec1ddb0f.tar.gz
emacs-84d6b04be16f0e093dcf343e72f35344ec1ddb0f.zip
(compare-windows): Rename customization group
`compare-w' to `compare-windows'. (compare-windows-whitespace, compare-ignore-whitespace) (compare-ignore-case, compare-windows-sync) (compare-windows-sync-string-size, compare-windows-recenter) (compare-windows-highlight, compare-windows): Change group name in the `group' tag from `compare-w' to `compare-windows'. (compare-windows-sync): Add option `nil' for no sync. Doc fix.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/compare-w.el25
2 files changed, 24 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f99126ef1b2..6eb4a4a70dc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12007-03-25 Juri Linkov <juri@jurta.org>
2
3 * compare-w.el (compare-windows): Rename customization group
4 `compare-w' to `compare-windows'.
5 (compare-windows-whitespace, compare-ignore-whitespace)
6 (compare-ignore-case, compare-windows-sync)
7 (compare-windows-sync-string-size, compare-windows-recenter)
8 (compare-windows-highlight, compare-windows): Change group name in
9 the `group' tag from `compare-w' to `compare-windows'.
10 (compare-windows-sync): Add option `nil' for no sync. Doc fix.
11
12007-03-24 Markus Triska <markus.triska@gmx.at> 122007-03-24 Markus Triska <markus.triska@gmx.at>
2 13
3 * expand.el: Change example to always enable abbrev-mode, and 14 * expand.el: Change example to always enable abbrev-mode, and
diff --git a/lisp/compare-w.el b/lisp/compare-w.el
index e81c6cd3bc2..19ad84e11c0 100644
--- a/lisp/compare-w.el
+++ b/lisp/compare-w.el
@@ -32,7 +32,7 @@
32 32
33;;; Code: 33;;; Code:
34 34
35(defgroup compare-w nil 35(defgroup compare-windows nil
36 "Compare text between windows." 36 "Compare text between windows."
37 :prefix "compare-" 37 :prefix "compare-"
38 :group 'tools) 38 :group 'tools)
@@ -52,18 +52,18 @@ any text before that point.
52If the function returns the same value for both windows, then the 52If the function returns the same value for both windows, then the
53whitespace is considered to match, and is skipped." 53whitespace is considered to match, and is skipped."
54 :type '(choice regexp function) 54 :type '(choice regexp function)
55 :group 'compare-w) 55 :group 'compare-windows)
56 56
57(defcustom compare-ignore-whitespace nil 57(defcustom compare-ignore-whitespace nil
58 "*Non-nil means `compare-windows' ignores whitespace." 58 "*Non-nil means `compare-windows' ignores whitespace."
59 :type 'boolean 59 :type 'boolean
60 :group 'compare-w 60 :group 'compare-windows
61 :version "22.1") 61 :version "22.1")
62 62
63(defcustom compare-ignore-case nil 63(defcustom compare-ignore-case nil
64 "*Non-nil means `compare-windows' ignores case differences." 64 "*Non-nil means `compare-windows' ignores case differences."
65 :type 'boolean 65 :type 'boolean
66 :group 'compare-w) 66 :group 'compare-windows)
67 67
68(defcustom compare-windows-sync 'compare-windows-sync-default-function 68(defcustom compare-windows-sync 'compare-windows-sync-default-function
69 "*Function or regexp that is used to synchronize points in two 69 "*Function or regexp that is used to synchronize points in two
@@ -87,10 +87,11 @@ regexp containing some field separator or a newline, depending on
87the nature of the difference units separator. The variable can 87the nature of the difference units separator. The variable can
88be made buffer-local. 88be made buffer-local.
89 89
90If the value of this variable is `nil', then function `ding' is 90If the value of this variable is `nil' (option \"No sync\"), then
91called to beep or flash the screen when points are mismatched." 91no synchronization is performed, and the function `ding' is called
92 :type '(choice regexp function) 92to beep or flash the screen when points are mismatched."
93 :group 'compare-w 93 :type '(choice function regexp (const :tag "No sync" nil))
94 :group 'compare-windows
94 :version "22.1") 95 :version "22.1")
95 96
96(defcustom compare-windows-sync-string-size 32 97(defcustom compare-windows-sync-string-size 32
@@ -102,7 +103,7 @@ difference regions more coarse-grained.
102 103
103The default value 32 is good for the most cases." 104The default value 32 is good for the most cases."
104 :type 'integer 105 :type 'integer
105 :group 'compare-w 106 :group 'compare-windows
106 :version "22.1") 107 :version "22.1")
107 108
108(defcustom compare-windows-recenter nil 109(defcustom compare-windows-recenter nil
@@ -113,7 +114,7 @@ matching points side-by-side.
113The value `(-1 0)' is useful if windows are split vertically, 114The value `(-1 0)' is useful if windows are split vertically,
114and the value `((4) (4))' for horizontally split windows." 115and the value `((4) (4))' for horizontally split windows."
115 :type '(list sexp sexp) 116 :type '(list sexp sexp)
116 :group 'compare-w 117 :group 'compare-windows
117 :version "22.1") 118 :version "22.1")
118 119
119(defcustom compare-windows-highlight t 120(defcustom compare-windows-highlight t
@@ -125,13 +126,13 @@ out all highlighting later with the command `compare-windows-dehighlight'."
125 :type '(choice (const :tag "No highlighting" nil) 126 :type '(choice (const :tag "No highlighting" nil)
126 (const :tag "Persistent highlighting" persistent) 127 (const :tag "Persistent highlighting" persistent)
127 (other :tag "Highlight until next command" t)) 128 (other :tag "Highlight until next command" t))
128 :group 'compare-w 129 :group 'compare-windows
129 :version "22.1") 130 :version "22.1")
130 131
131(defface compare-windows 132(defface compare-windows
132 '((t :inherit lazy-highlight)) 133 '((t :inherit lazy-highlight))
133 "Face for highlighting of compare-windows difference regions." 134 "Face for highlighting of compare-windows difference regions."
134 :group 'compare-w 135 :group 'compare-windows
135 :version "22.1") 136 :version "22.1")
136 137
137(defvar compare-windows-overlay1 nil) 138(defvar compare-windows-overlay1 nil)