]> code.delx.au - gnu-emacs/commitdiff
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring
authorPhilipp Stephani <p.stephani2@gmail.com>
Mon, 18 Apr 2016 16:32:35 +0000 (12:32 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 18 Apr 2016 16:32:35 +0000 (12:32 -0400)
so that it matches the actual implementation.
See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html

lisp/emacs-lisp/easy-mmode.el

index 6a4d835b63cc12d77e7ebd68ba6aecacf964f0d3..46d5d0d4f5929deb745d086d2067ac05af2abdad 100644 (file)
@@ -108,9 +108,10 @@ Optional LIGHTER is displayed in the mode line 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 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.
+  (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 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.