From 82ecc38a3b048313e09dcbe865e0d7b14a43de18 Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Tue, 17 May 2005 15:21:33 +0000 Subject: [PATCH] (Defining Minor Modes): Mention the mode hook. --- lispref/modes.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.2