]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
authorMichael Heerdegen <michael_heerdegen@web.de>
Fri, 29 Aug 2014 20:28:19 +0000 (22:28 +0200)
committerChristopher Schmidt <ch@ristopher.com>
Fri, 29 Aug 2014 20:28:19 +0000 (22:28 +0200)
name instead of variable name in hook docstring.  (Bug#18349)

lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index 6df129d22ea0ec3a1f562751eeeb01a9aa3eff73..af801a27e985de311a72acfe101b19f45437b2ef 100644 (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
index b5b6566cf665745539b6a59cc2e454f563b64040..9a17a75e48b7fbf37be50e4b4cbfdec896fcff37 100644 (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.