summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-25 17:54:49 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-25 17:54:49 +0200
commit293b8c71b2d56afdbe9379b00e21a58479fc09a8 (patch)
tree523c6cf8f37f90671419e6c8b5313b71304f51ef /lisp/emacs-lisp/easy-mmode.el
parentd9abb06ded6e5bea192072a856e570a81866ea16 (diff)
downloademacs-293b8c71b2d56afdbe9379b00e21a58479fc09a8.tar.gz
Minor clarification of define-minor-mode :keymap argument
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Minor doc fix; clarify by saying that ":keymap" should be an "unquoted variable name". (Bug#25505)
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index dfbae746cc1..0e4d6eeb7bb 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -163,8 +163,8 @@ BODY contains code to execute each time the mode is enabled or disabled.
Not used if you also specify :variable.
:lighter SPEC Text displayed in the mode line when the mode is on.
:keymap MAP Keymap bound to the mode keymap. Defaults to `MODE-map'.
- If non-nil, it should be a variable name (whose value is
- a keymap), or an expression that returns either a keymap or
+ If non-nil, it should be an unquoted variable name (whose value
+ is a keymap), or an expression that returns either a keymap or
a list of (KEY . BINDING) pairs where KEY and BINDING are
suitable for `define-key'. If you supply a KEYMAP argument
that is not a symbol, this macro defines the variable MODE-map