263 |
:group 'highlight-changes) |
:group 'highlight-changes) |
264 |
|
|
265 |
;; The strings displayed in the mode-line for the minor mode: |
;; The strings displayed in the mode-line for the minor mode: |
266 |
(defcustom highlight-changes-active-string nil |
(defcustom highlight-changes-active-string " +Chg" |
267 |
"*The string used when Highlight Changes mode is in the active state. |
"*The string used when Highlight Changes mode is in the active state. |
268 |
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 |
269 |
a string with a leading space." |
a string with a leading space." |
271 |
(const :tag "None" nil)) |
(const :tag "None" nil)) |
272 |
:group 'highlight-changes) |
:group 'highlight-changes) |
273 |
|
|
274 |
(defcustom highlight-changes-passive-string " Chg" |
(defcustom highlight-changes-passive-string " -Chg" |
275 |
"*The string used when Highlight Changes mode is in the passive state. |
"*The string used when Highlight Changes mode is in the passive state. |
276 |
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 |
277 |
a string with a leading space." |
a string with a leading space." |
282 |
(defcustom highlight-changes-global-modes t |
(defcustom highlight-changes-global-modes t |
283 |
"*Determine whether a buffer is suitable for global Highlight Changes mode. |
"*Determine whether a buffer is suitable for global Highlight Changes mode. |
284 |
|
|
285 |
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, |
286 |
buffer is suitable. |
the buffer is suitable. |
287 |
|
|
288 |
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 |
289 |
first element is `not' followed by modes which are not suitable. |
Changes mode, or a list whose first element is `not' followed by major |
290 |
|
modes which are not suitable. |
291 |
|
|
292 |
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 |
293 |
`*' and the buffer has a filename. |
does not begin with ` ' or `*'. |
294 |
|
|
295 |
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' |
296 |
\(effectively disabling the mode). |
\(effectively disabling the mode). |