* 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:
Michael Heerdegen 2014-08-29 22:28:19 +02:00 committed by Christopher Schmidt
parent 7421589fc8
commit e6a4c15ff1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
* emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
name instead of variable name in hook docstring. (Bug#18349)
2014-08-29 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-at-bottom): Prefer bottom-left

View file

@ -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.