diff options
Diffstat (limited to 'doc/lispref/hooks.texi')
-rw-r--r-- | doc/lispref/hooks.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi index 7c91b51b290..a7f01243641 100644 --- a/doc/lispref/hooks.texi +++ b/doc/lispref/hooks.texi @@ -17,11 +17,11 @@ arguments and their values are completely ignored. The recommended way to put a new function on such a hook is to call @code{add-hook}. @xref{Hooks}, for more information about using hooks. -The variables whose names end in @samp{-hooks} or @samp{-functions} are -usually @dfn{abnormal hooks}; their values are lists of functions, but -these functions are called in a special way (they are passed arguments, -or their values are used). The variables whose names end in -@samp{-function} have single functions as their values. +The variables whose names end in @samp{-functions} are usually @dfn{abnormal +hooks} (some old code may also use the deprecated @samp{-hooks} suffix); their +values are lists of functions, but these functions are called in a special way +(they are passed arguments, or their return values are used). The variables +whose names end in @samp{-function} have single functions as their values. This is not an exhaustive list, it only covers the more general hooks. For example, every major mode defines a hook named |