diff options
| author | Richard M. Stallman | 2007-04-22 16:58:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-04-22 16:58:23 +0000 |
| commit | 44395dee2eeef9bb365e5e455f06e21705cb366a (patch) | |
| tree | 9f1238563a84026a35f2a3a40f4c243739260bcb | |
| parent | 219f06f7b847f4a905d670ad067c4eb6b953aae3 (diff) | |
| download | emacs-44395dee2eeef9bb365e5e455f06e21705cb366a.tar.gz emacs-44395dee2eeef9bb365e5e455f06e21705cb366a.zip | |
(define-globalized-minor-mode): Improve doc string of generated command.
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 8b8dc6ba09d..2ce4ca8cf38 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el | |||
| @@ -327,11 +327,12 @@ call another major mode in their body." | |||
| 327 | (make-variable-buffer-local ',MODE-major-mode) | 327 | (make-variable-buffer-local ',MODE-major-mode) |
| 328 | ;; The actual global minor-mode | 328 | ;; The actual global minor-mode |
| 329 | (define-minor-mode ,global-mode | 329 | (define-minor-mode ,global-mode |
| 330 | ,(format "Toggle %s in every buffer. | 330 | ,(format "Toggle %s in every possible buffer. |
| 331 | With prefix ARG, turn %s on if and only if ARG is positive. | 331 | With prefix ARG, turn %s on if and only if ARG is positive. |
| 332 | %s is actually not turned on in every buffer but only in those | 332 | %s is enabled in all buffers where `%s' would do it. |
| 333 | in which `%s' turns it on." | 333 | See `%s' for more information on %s." |
| 334 | pretty-name pretty-global-name pretty-name turn-on) | 334 | pretty-name pretty-global-name pretty-name turn-on |
| 335 | mode pretty-name) | ||
| 335 | :global t ,@group ,@(nreverse extra-keywords) | 336 | :global t ,@group ,@(nreverse extra-keywords) |
| 336 | 337 | ||
| 337 | ;; Setup hook to handle future mode changes and new buffers. | 338 | ;; Setup hook to handle future mode changes and new buffers. |