aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-02-06 15:32:16 +0000
committerRichard M. Stallman2002-02-06 15:32:16 +0000
commite711842f4bcb1e92555b7e80b33ddcda8b9f55f1 (patch)
tree864b3b1cb864d29aff2964fcdecb7e0a13006216
parentb95ddab3b26629a557101b2066b237579b4d0c55 (diff)
downloademacs-e711842f4bcb1e92555b7e80b33ddcda8b9f55f1.tar.gz
emacs-e711842f4bcb1e92555b7e80b33ddcda8b9f55f1.zip
(highlight-changes-active-string): Default to +Chg.
(highlight-changes-passive-string): Default to -Chg. (highlight-changes-global-modes): Doc fix.
-rw-r--r--lisp/hilit-chg.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 607f320894a..fa7d5b0a083 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -263,7 +263,7 @@ This variable must be set to either `active' or `passive'"
263 :group 'highlight-changes) 263 :group 'highlight-changes)
264 264
265;; The strings displayed in the mode-line for the minor mode: 265;; The strings displayed in the mode-line for the minor mode:
266(defcustom highlight-changes-active-string nil 266(defcustom highlight-changes-active-string " +Chg"
267 "*The string used when Highlight Changes mode is in the active state. 267 "*The string used when Highlight Changes mode is in the active state.
268This should be set to nil if no indication is desired, or to 268This should be set to nil if no indication is desired, or to
269a string with a leading space." 269a string with a leading space."
@@ -271,7 +271,7 @@ a string with a leading space."
271 (const :tag "None" nil)) 271 (const :tag "None" nil))
272 :group 'highlight-changes) 272 :group 'highlight-changes)
273 273
274(defcustom highlight-changes-passive-string " Chg" 274(defcustom highlight-changes-passive-string " -Chg"
275 "*The string used when Highlight Changes mode is in the passive state. 275 "*The string used when Highlight Changes mode is in the passive state.
276This should be set to nil if no indication is desired, or to 276This should be set to nil if no indication is desired, or to
277a string with a leading space." 277a string with a leading space."
@@ -282,14 +282,15 @@ a string with a leading space."
282(defcustom highlight-changes-global-modes t 282(defcustom highlight-changes-global-modes t
283 "*Determine whether a buffer is suitable for global Highlight Changes mode. 283 "*Determine whether a buffer is suitable for global Highlight Changes mode.
284 284
285A function means that function is called: if it returns non-nil, the 285A function means call that function to decide: if it returns non-nil,
286buffer is suitable. 286the buffer is suitable.
287 287
288A list is a list of modes for which it is suitable, or a list whose 288A list means the elements are major modes suitable for Highlight
289first element is `not' followed by modes which are not suitable. 289Changes mode, or a list whose first element is `not' followed by major
290modes which are not suitable.
290 291
291t means the buffer is suitable if its name does not begin with ` ' nor 292t means the buffer is suitable if it is visiting a file and its name
292`*' and the buffer has a filename. 293does not begin with ` ' or `*'.
293 294
294A value of nil means no buffers are suitable for `global-highlight-changes' 295A value of nil means no buffers are suitable for `global-highlight-changes'
295\(effectively disabling the mode). 296\(effectively disabling the mode).