diff options
| author | Stefan Kangas | 2021-10-23 20:03:34 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2021-10-23 20:03:34 +0200 |
| commit | 4fd5c8df67e2eb41dd0ea6d95586bbd8d09cc482 (patch) | |
| tree | 398be37af2cd86e7967c6871796038856240ab13 /doc/lispref/modes.texi | |
| parent | 6fa520677095c5872f1d448f6f1001ee22e42276 (diff) | |
| download | emacs-4fd5c8df67e2eb41dd0ea6d95586bbd8d09cc482.tar.gz emacs-4fd5c8df67e2eb41dd0ea6d95586bbd8d09cc482.zip | |
Clarify abnormal hook documentation
* doc/lispref/hooks.texi (Standard Hooks):
* doc/lispref/modes.texi (Hooks): Clarify wording of "abnormal
hook" documentation. (Bug#34588)
Diffstat (limited to 'doc/lispref/modes.texi')
| -rw-r--r-- | doc/lispref/modes.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index ee55f982d02..ed0c535867f 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -59,12 +59,12 @@ runs just before Emacs suspends itself (@pxref{Suspending Emacs}). | |||
| 59 | 59 | ||
| 60 | @cindex abnormal hook | 60 | @cindex abnormal hook |
| 61 | If the hook variable's name does not end with @samp{-hook}, that | 61 | If the hook variable's name does not end with @samp{-hook}, that |
| 62 | indicates it is probably an @dfn{abnormal hook}. That means the hook | 62 | indicates it is probably an @dfn{abnormal hook}. That means one of |
| 63 | functions are called with arguments, or their return values are used | 63 | two things: either that the hook functions are called with arguments, |
| 64 | in some way. The hook's documentation says how the functions are | 64 | or that their return values are used in some way. The hook's |
| 65 | called. Any functions added to an abnormal hook must follow the | 65 | documentation says how the functions are called. Any functions added |
| 66 | hook's calling convention. By convention, abnormal hook names end in | 66 | to an abnormal hook must follow the hook's calling convention. By |
| 67 | @samp{-functions}. | 67 | convention, abnormal hook names end in @samp{-functions}. |
| 68 | 68 | ||
| 69 | @cindex single-function hook | 69 | @cindex single-function hook |
| 70 | If the name of the variable ends in @samp{-predicate} or | 70 | If the name of the variable ends in @samp{-predicate} or |