changeset 77424:d3f723361ea3

(define-globalized-minor-mode): Improve doc string of generated command.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Apr 2007 16:58:23 +0000
parents 954d7a5a16f6
children a0465482d78d
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Sun Apr 22 16:56:19 2007 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Sun Apr 22 16:58:23 2007 +0000
@@ -327,11 +327,12 @@
        (make-variable-buffer-local ',MODE-major-mode)
        ;; The actual global minor-mode
        (define-minor-mode ,global-mode
-	 ,(format "Toggle %s in every buffer.
+	 ,(format "Toggle %s in every possible buffer.
 With prefix ARG, turn %s on if and only if ARG is positive.
-%s is actually not turned on in every buffer but only in those
-in which `%s' turns it on."
-		  pretty-name pretty-global-name pretty-name turn-on)
+%s is enabled in all buffers where `%s' would do it.
+See `%s' for more information on %s."
+		  pretty-name pretty-global-name pretty-name turn-on
+		  mode pretty-name)
 	 :global t ,@group ,@(nreverse extra-keywords)
 
 	 ;; Setup hook to handle future mode changes and new buffers.