diff options
| author | Lute Kamstra | 2005-05-17 15:21:33 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-05-17 15:21:33 +0000 |
| commit | 82ecc38a3b048313e09dcbe865e0d7b14a43de18 (patch) | |
| tree | 5c148574d2e8069b9e946461ae69936300fe1aee | |
| parent | f56789436283d90804b406c8e205d53cd83b4baa (diff) | |
| download | emacs-82ecc38a3b048313e09dcbe865e0d7b14a43de18.tar.gz emacs-82ecc38a3b048313e09dcbe865e0d7b14a43de18.zip | |
(Defining Minor Modes): Mention the mode hook.
| -rw-r--r-- | lispref/modes.texi | 7 |
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. | |||
| 1408 | Any other keyword arguments are passed passed directly to the | 1408 | Any 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 | ||
| 1411 | The command named @var{mode} finishes by executing the @var{body} forms, | 1411 | The command named @var{mode} first performs the standard actions such |
| 1412 | if any, after it has performed the standard actions such as setting | 1412 | as setting the variable named @var{mode} and then executes the |
| 1413 | the variable named @var{mode}. | 1413 | @var{body} forms, if any. It finishes by running the mode hook |
| 1414 | variable @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 |