aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Heerdegen2014-08-29 22:28:19 +0200
committerChristopher Schmidt2014-08-29 22:28:19 +0200
commite6a4c15ff1a2dad24eb695d0f9f1e63398aadf9f (patch)
tree677d1eabb7d927756291fbbac021d690898f92e3
parent7421589fc82419836e701e0cd95b1cdf0df37319 (diff)
downloademacs-e6a4c15ff1a2dad24eb695d0f9f1e63398aadf9f.tar.gz
emacs-e6a4c15ff1a2dad24eb695d0f9f1e63398aadf9f.zip
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
name instead of variable name in hook docstring. (Bug#18349)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6df129d22ea..af801a27e98 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
4 name instead of variable name in hook docstring. (Bug#18349)
5
12014-08-29 Martin Rudalics <rudalics@gmx.at> 62014-08-29 Martin Rudalics <rudalics@gmx.at>
2 7
3 * window.el (display-buffer-at-bottom): Prefer bottom-left 8 * window.el (display-buffer-at-bottom): Prefer bottom-left
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'.
300 ,(format "Hook run after entering or leaving `%s'. 300 ,(format "Hook run after entering or leaving `%s'.
301No problems result if this variable is not bound. 301No problems result if this variable is not bound.
302`add-hook' automatically binds it. (This is true for all hook variables.)" 302`add-hook' automatically binds it. (This is true for all hook variables.)"
303 mode)) 303 modefun))
304 304
305 ;; Define the minor-mode keymap. 305 ;; Define the minor-mode keymap.
306 ,(unless (symbolp keymap) ;nil is also a symbol. 306 ,(unless (symbolp keymap) ;nil is also a symbol.