diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-08-23 11:52:18 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-08-23 11:52:18 +0200 |
commit | fafc9c21175ee50df84114a09e9f43f02c960b85 (patch) | |
tree | bd07feaed951d7bd49ed53d65bb2e6082a6c1196 /lisp/emacs-lisp/easy-mmode.el | |
parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
parent | 4e97019a77731d634e6b059954c8fef792c11fa8 (diff) | |
download | emacs-fafc9c21175ee50df84114a09e9f43f02c960b85.tar.gz emacs-fafc9c21175ee50df84114a09e9f43f02c960b85.tar.bz2 emacs-fafc9c21175ee50df84114a09e9f43f02c960b85.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 59e2e2e08ff..24c9e79f2c1 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -87,7 +87,10 @@ replacing its case-insensitive matches with the literal string in LIGHTER." If called interactively, enable %s if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it -if ARG is `toggle'; disable the mode otherwise.") +if ARG is `toggle'; disable the mode otherwise. + +The mode's hook is called both when the mode is enabled and when +it is disabled.") (defun easy-mmode--mode-docstring (doc mode-pretty-name keymap-sym) (let ((doc (or doc (format "Toggle %s on or off. |