26 |
The variables whose names end in @samp{-hooks} or @samp{-functions} are |
The variables whose names end in @samp{-hooks} or @samp{-functions} are |
27 |
usually @dfn{abnormal hooks}; their values are lists of functions, but |
usually @dfn{abnormal hooks}; their values are lists of functions, but |
28 |
these functions are called in a special way (they are passed arguments, |
these functions are called in a special way (they are passed arguments, |
29 |
or their values are used). A few of these variables are actually normal |
or their values are used). The variables whose names end in |
30 |
hooks which were named before we established the convention that normal |
@samp{-function} have single functions as their values. |
31 |
hooks' names should end in @samp{-hook}. |
|
32 |
|
(In older Emacs versions, some normal hooks had names ending in |
33 |
The variables whose names end in @samp{-function} have single functions |
@samp{-hooks} or @samp{-functions}, and some abnormal hooks had names |
34 |
as their values. (In older Emacs versions, some of these variables had |
ending in @samp{-hook}. We have renamed all of these to conform to |
35 |
names ending in @samp{-hook} even though they were not normal hooks; |
the above conventions.) |
|
however, we have renamed all of those.) |
|
36 |
|
|
37 |
@c We need to xref to where each hook is documented or else document |
@c We need to xref to where each hook is documented or else document |
38 |
@c it here. |
@c it here. |
134 |
@xref{Disabling Commands}. |
@xref{Disabling Commands}. |
135 |
|
|
136 |
@item echo-area-clear-hook |
@item echo-area-clear-hook |
137 |
@xref{The Echo Area}. |
@xref{Echo Area Customization}. |
138 |
|
|
139 |
@item emacs-startup-hook |
@item emacs-startup-hook |
140 |
@xref{Init File}. |
@xref{Init File}. |