* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
name instead of variable name in hook docstring. (Bug#18349)
This commit is contained in:
parent
7421589fc8
commit
e6a4c15ff1
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue