]> git.eshelyaron.com Git - emacs.git/commitdiff
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
authorChong Yidong <cyd@gnu.org>
Mon, 28 Nov 2011 06:26:39 +0000 (14:26 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 28 Nov 2011 06:26:39 +0000 (14:26 +0800)
lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index 7ca29e33023dbb20b62ff51f836d4fe44aa9446a..16f81a1729c6119f07f59e1f16f58ab0868655d6 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-28  Chong Yidong  <cyd@gnu.org>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
+
 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
 
        * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
index bf9f2c9d6ed6740446c6bffa6787832807c5fffb..fae4d9adc384323b8120dc2c5063e3d0eb7cb70f 100644 (file)
@@ -233,10 +233,10 @@ or call the function `%s'."))))
        (defun ,modefun (&optional arg ,@extra-args)
         ,(or doc
              (format (concat "Toggle %s on or off.
-Interactively, with no prefix argument, toggle the mode.
-With universal prefix ARG turn mode on.
-With zero or negative ARG turn mode off.
-\\{%s}") pretty-name keymap-sym))
+With a prefix argument ARG, enable %s if ARG is
+positive, and disable it otherwise.  If called from Lisp, enable
+the mode if ARG is omitted or nil.
+\\{%s}") pretty-name pretty-name keymap-sym))
         ;; Use `toggle' rather than (if ,mode 0 1) so that using
         ;; repeat-command still does the toggling correctly.
         (interactive (list (or current-prefix-arg 'toggle)))