changeset 43132:0dd2ebecd217

(highlight-changes-active-string): Default to +Chg. (highlight-changes-passive-string): Default to -Chg. (highlight-changes-global-modes): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 06 Feb 2002 15:32:16 +0000
parents 0c878a7e5de7
children c929176c272b
files lisp/hilit-chg.el
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hilit-chg.el	Wed Feb 06 15:30:40 2002 +0000
+++ b/lisp/hilit-chg.el	Wed Feb 06 15:32:16 2002 +0000
@@ -263,7 +263,7 @@
   :group 'highlight-changes)
 
 ;; The strings displayed in the mode-line for the minor mode:
-(defcustom highlight-changes-active-string nil
+(defcustom highlight-changes-active-string " +Chg"
   "*The string used when Highlight Changes mode is in the active state.
 This should be set to nil if no indication is desired,  or to
 a string with a leading space."
@@ -271,7 +271,7 @@
 		 (const :tag "None"  nil))
   :group 'highlight-changes)
 
-(defcustom highlight-changes-passive-string " Chg"
+(defcustom highlight-changes-passive-string " -Chg"
   "*The string used when Highlight Changes mode is in the passive state.
 This should be set to nil if no indication is desired,  or to
 a string with a leading space."
@@ -282,14 +282,15 @@
 (defcustom highlight-changes-global-modes t
   "*Determine whether a buffer is suitable for global Highlight Changes mode.
 
-A function means that function is called:  if it returns non-nil, the
-buffer is suitable.
+A function means call that function to decide: if it returns non-nil,
+the buffer is suitable.
 
-A list is a list of modes for which it is suitable,  or a list whose
-first element is `not' followed by modes which are not suitable.
+A list means the elements are major modes suitable for Highlight
+Changes mode, or a list whose first element is `not' followed by major
+modes which are not suitable.
 
-t means the buffer is suitable if its name does not begin with ` ' nor
-`*' and the buffer has a filename.
+t means the buffer is suitable if it is visiting a file and its name
+does not begin with ` ' or `*'.
 
 A value of nil means no buffers are suitable for `global-highlight-changes'
 \(effectively disabling the mode).