aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-05-17 15:21:33 +0000
committerLute Kamstra2005-05-17 15:21:33 +0000
commit82ecc38a3b048313e09dcbe865e0d7b14a43de18 (patch)
tree5c148574d2e8069b9e946461ae69936300fe1aee
parentf56789436283d90804b406c8e205d53cd83b4baa (diff)
downloademacs-82ecc38a3b048313e09dcbe865e0d7b14a43de18.tar.gz
emacs-82ecc38a3b048313e09dcbe865e0d7b14a43de18.zip
(Defining Minor Modes): Mention the mode hook.
-rw-r--r--lispref/modes.texi7
1 files 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.
1408Any other keyword arguments are passed passed directly to the 1408Any other keyword arguments are passed passed directly to the
1409@code{defcustom} generated for the variable @var{mode}. 1409@code{defcustom} generated for the variable @var{mode}.
1410 1410
1411The command named @var{mode} finishes by executing the @var{body} forms, 1411The command named @var{mode} first performs the standard actions such
1412if any, after it has performed the standard actions such as setting 1412as setting the variable named @var{mode} and then executes the
1413the variable named @var{mode}. 1413@var{body} forms, if any. It finishes by running the mode hook
1414variable @code{@var{mode}-hook}.
1414@end defmac 1415@end defmac
1415 1416
1416@findex easy-mmode-define-minor-mode 1417@findex easy-mmode-define-minor-mode