diff options
| author | Richard M. Stallman | 2002-02-06 15:32:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-02-06 15:32:16 +0000 |
| commit | e711842f4bcb1e92555b7e80b33ddcda8b9f55f1 (patch) | |
| tree | 864b3b1cb864d29aff2964fcdecb7e0a13006216 | |
| parent | b95ddab3b26629a557101b2066b237579b4d0c55 (diff) | |
| download | emacs-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.el | 17 |
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. |
| 268 | This should be set to nil if no indication is desired, or to | 268 | This should be set to nil if no indication is desired, or to |
| 269 | a string with a leading space." | 269 | a 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. |
| 276 | This should be set to nil if no indication is desired, or to | 276 | This should be set to nil if no indication is desired, or to |
| 277 | a string with a leading space." | 277 | a 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 | ||
| 285 | A function means that function is called: if it returns non-nil, the | 285 | A function means call that function to decide: if it returns non-nil, |
| 286 | buffer is suitable. | 286 | the buffer is suitable. |
| 287 | 287 | ||
| 288 | A list is a list of modes for which it is suitable, or a list whose | 288 | A list means the elements are major modes suitable for Highlight |
| 289 | first element is `not' followed by modes which are not suitable. | 289 | Changes mode, or a list whose first element is `not' followed by major |
| 290 | modes which are not suitable. | ||
| 290 | 291 | ||
| 291 | t means the buffer is suitable if its name does not begin with ` ' nor | 292 | t means the buffer is suitable if it is visiting a file and its name |
| 292 | `*' and the buffer has a filename. | 293 | does not begin with ` ' or `*'. |
| 293 | 294 | ||
| 294 | A value of nil means no buffers are suitable for `global-highlight-changes' | 295 | A value of nil means no buffers are suitable for `global-highlight-changes' |
| 295 | \(effectively disabling the mode). | 296 | \(effectively disabling the mode). |