summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-08-08 12:39:11 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-08-08 12:39:11 +0200
commite763c8947a55bfff703427b9bb0524638e5d7eae (patch)
tree186b35800785f76b91a0516960b22a01c2302854 /lisp/emacs-lisp/easy-mmode.el
parent80cccd7ff15d254cb412e9939e27a348fbaa0425 (diff)
parentadab672edb3fad0851a52e3b6ccf3ac31c80b025 (diff)
downloademacs-e763c8947a55bfff703427b9bb0524638e5d7eae.tar.gz
emacs-e763c8947a55bfff703427b9bb0524638e5d7eae.tar.bz2
emacs-e763c8947a55bfff703427b9bb0524638e5d7eae.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 3a00fdb454d..8a2b3b4626a 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -497,8 +497,11 @@ on if the hook has explicitly disabled it.
,(concat (format "Toggle %s in all buffers.\n" pretty-name)
(internal--format-docstring-line
"With prefix ARG, enable %s if ARG is positive; otherwise, \
-disable it. If called from Lisp, enable the mode if ARG is omitted or nil.\n\n"
+disable it.\n\n"
pretty-global-name)
+ "If called from Lisp, toggle the mode if ARG is `toggle'.
+Enable the mode if ARG is nil, omitted, or is a positive number.
+Disable the mode if ARG is a negative number.\n\n"
(internal--format-docstring-line
"%s is enabled in all buffers where `%s' would do it.\n\n"
pretty-name turn-on)