diff options
author | Chong Yidong <cyd@gnu.org> | 2011-11-28 14:26:39 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2011-11-28 14:26:39 +0800 |
commit | e95def75e4a3fae3f5671cc828012388f0e251f5 (patch) | |
tree | 54d763741078b8a5bab249b935279507717c0468 /lisp/emacs-lisp | |
parent | dc95a8b0de5b4c823f838a66d6cdc74ea5be2ccb (diff) | |
download | emacs-e95def75e4a3fae3f5671cc828012388f0e251f5.tar.gz emacs-e95def75e4a3fae3f5671cc828012388f0e251f5.tar.bz2 emacs-e95def75e4a3fae3f5671cc828012388f0e251f5.zip |
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index bf9f2c9d6ed..fae4d9adc38 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -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))) |