From: Lute Kamstra Date: Tue, 17 May 2005 15:21:33 +0000 (+0000) Subject: (Defining Minor Modes): Mention the mode hook. X-Git-Tag: ttn-vms-21-2-B4~219 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82ecc38a3b048313e09dcbe865e0d7b14a43de18;p=emacs.git (Defining Minor Modes): Mention the mode hook. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index 9af56fd9d37..ec5fe23c171 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -1408,9 +1408,10 @@ This is equivalent to specifying @var{keymap} positionally. Any other keyword arguments are passed passed directly to the @code{defcustom} generated for the variable @var{mode}. -The command named @var{mode} finishes by executing the @var{body} forms, -if any, after it has performed the standard actions such as setting -the variable named @var{mode}. +The command named @var{mode} first performs the standard actions such +as setting the variable named @var{mode} and then executes the +@var{body} forms, if any. It finishes by running the mode hook +variable @code{@var{mode}-hook}. @end defmac @findex easy-mmode-define-minor-mode