aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/modes.texi
diff options
context:
space:
mode:
authorStefan Kangas2021-10-23 20:03:34 +0200
committerStefan Kangas2021-10-23 20:03:34 +0200
commit4fd5c8df67e2eb41dd0ea6d95586bbd8d09cc482 (patch)
tree398be37af2cd86e7967c6871796038856240ab13 /doc/lispref/modes.texi
parent6fa520677095c5872f1d448f6f1001ee22e42276 (diff)
downloademacs-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.texi12
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
62indicates it is probably an @dfn{abnormal hook}. That means the hook 62indicates it is probably an @dfn{abnormal hook}. That means one of
63functions are called with arguments, or their return values are used 63two things: either that the hook functions are called with arguments,
64in some way. The hook's documentation says how the functions are 64or that their return values are used in some way. The hook's
65called. Any functions added to an abnormal hook must follow the 65documentation says how the functions are called. Any functions added
66hook's calling convention. By convention, abnormal hook names end in 66to an abnormal hook must follow the hook's calling convention. By
67@samp{-functions}. 67convention, abnormal hook names end in @samp{-functions}.
68 68
69@cindex single-function hook 69@cindex single-function hook
70If the name of the variable ends in @samp{-predicate} or 70If the name of the variable ends in @samp{-predicate} or