Mercurial > emacs
changeset 62434:893818a65dc5
(Defining Minor Modes): Mention the mode hook.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Tue, 17 May 2005 15:21:33 +0000 |
parents | 50ff61f0f99d |
children | d58591f0719f |
files | lispref/modes.texi |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Tue May 17 15:17:18 2005 +0000 +++ b/lispref/modes.texi Tue May 17 15:21:33 2005 +0000 @@ -1408,9 +1408,10 @@ 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