summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2014-08-29 22:28:19 +0200
committerChristopher Schmidt <ch@ristopher.com>2014-08-29 22:28:19 +0200
commite6a4c15ff1a2dad24eb695d0f9f1e63398aadf9f (patch)
tree677d1eabb7d927756291fbbac021d690898f92e3 /lisp/emacs-lisp/easy-mmode.el
parent7421589fc82419836e701e0cd95b1cdf0df37319 (diff)
downloademacs-e6a4c15ff1a2dad24eb695d0f9f1e63398aadf9f.tar.gz
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
name instead of variable name in hook docstring. (Bug#18349)
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index b5b6566cf66..9a17a75e48b 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -300,7 +300,7 @@ the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'.
,(format "Hook run after entering or leaving `%s'.
No problems result if this variable is not bound.
`add-hook' automatically binds it. (This is true for all hook variables.)"
- mode))
+ modefun))
;; Define the minor-mode keymap.
,(unless (symbolp keymap) ;nil is also a symbol.