summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-10-25 16:01:16 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-10-25 16:01:16 -0700
commitf0ecbca80a004824d74ca9bc8b77cc94b2489b34 (patch)
tree1bce01242894a7840910731adc5b76c99f8e6c89 /lisp/emacs-lisp
parenta14e15687ce2e0a02e27bf85f70b3d9c7dfdf850 (diff)
parent507ea2587e3b868468e83ff6bc8b3303c4097984 (diff)
downloademacs-f0ecbca80a004824d74ca9bc8b77cc94b2489b34.tar.gz
emacs-f0ecbca80a004824d74ca9bc8b77cc94b2489b34.tar.bz2
emacs-f0ecbca80a004824d74ca9bc8b77cc94b2489b34.zip
Merge from trunk.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index b1cb0615e43..4b6f4d634ca 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -94,8 +94,9 @@ Optional LIGHTER is displayed in the modeline when the mode is on.
Optional KEYMAP is the default keymap bound to the mode keymap.
If non-nil, it should be a variable name (whose value is a keymap),
or an expression that returns either a keymap or a list of
- arguments for `easy-mmode-define-keymap'. If KEYMAP is not a symbol,
- this also defines the variable MODE-map.
+ arguments for `easy-mmode-define-keymap'. If you supply a KEYMAP
+ argument that is not a symbol, this macro defines the variable
+ MODE-map and gives it the value that KEYMAP specifies.
BODY contains code to execute each time the mode is enabled or disabled.
It is executed after toggling the mode, and before running MODE-hook.