Commit e711842f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(highlight-changes-active-string): Default to +Chg.

(highlight-changes-passive-string): Default to -Chg.
(highlight-changes-global-modes): Doc fix.
parent b95ddab3
...@@ -263,7 +263,7 @@ This variable must be set to either `active' or `passive'" ...@@ -263,7 +263,7 @@ This variable must be set to either `active' or `passive'"
:group 'highlight-changes) :group 'highlight-changes)
;; The strings displayed in the mode-line for the minor mode: ;; 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. "*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 This should be set to nil if no indication is desired, or to
a string with a leading space." a string with a leading space."
...@@ -271,7 +271,7 @@ a string with a leading space." ...@@ -271,7 +271,7 @@ a string with a leading space."
(const :tag "None" nil)) (const :tag "None" nil))
:group 'highlight-changes) :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. "*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 This should be set to nil if no indication is desired, or to
a string with a leading space." a string with a leading space."
...@@ -282,14 +282,15 @@ a string with a leading space." ...@@ -282,14 +282,15 @@ a string with a leading space."
(defcustom highlight-changes-global-modes t (defcustom highlight-changes-global-modes t
"*Determine whether a buffer is suitable for global Highlight Changes mode. "*Determine whether a buffer is suitable for global Highlight Changes mode.
A function means that function is called: if it returns non-nil, the A function means call that function to decide: if it returns non-nil,
buffer is suitable. the buffer is suitable.
A list is a list of modes for which it is suitable, or a list whose A list means the elements are major modes suitable for Highlight
first element is `not' followed by modes which are not suitable. 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 t means the buffer is suitable if it is visiting a file and its name
`*' and the buffer has a filename. does not begin with ` ' or `*'.
A value of nil means no buffers are suitable for `global-highlight-changes' A value of nil means no buffers are suitable for `global-highlight-changes'
\(effectively disabling the mode). \(effectively disabling the mode).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment