@c -*-texinfo-*-
@setfilename ../info/hooks
@node Standard Hooks, Index, Standard Keymaps, Top
@appendix Standard Hooks

The following is a list of hooks available with the distributed 18.52
version of GNU Emacs.  Some of these hooks are called with @code{run-hooks}
and can be a list of functions.  Others are not called with @code{run-hooks}
and may or may not allow a list of functions.  For example,
the @code{suspend-hook} can only reference a single function.
@xref{Hooks}, for more information about using hooks.

@quotation
@strong{Note:} in version 19, @code{blink-paren-hook} and
@code{auto-fill-hook} are renamed to @code{blink-paren-function} and
@code{auto-fill-function} respectively, since they are not called by the
@code{run-hooks} function.
@end quotation

@c !!! need  xref  to where each hook is documented or else document it
@c by specifying what is expected, and when it is called relative to
@c mode initialization.)

@table @code
@item auto-fill-hook
@item blink-paren-hook
@item c-mode-hook
@item command-history-hook
@item comment-indent-hook
@item define-hooked-global-abbrev
@item define-hooked-local-abbrev
@item dired-mode-hook
@item disabled-command-hook
@item edit-picture-hook
@item electric-buffer-menu-mode-hook
@item electric-command-history-hook
@item electric-help-mode-hook
@item emacs-lisp-mode-hook
@item find-file-hooks
@item find-file-not-found-hooks
@item fortran-comment-hook
@item fortran-mode-hook
@item ftp-setup-write-file-hooks
@item ftp-write-file-hook
@item indent-mim-hook
@item LaTeX-mode-hook
@item ledit-mode-hook
@item lisp-indent-hook
@item lisp-interaction-mode-hook
@item lisp-mode-hook
@item m2-mode-hook
@item mail-mode-hook
@item mail-setup-hook
@item medit-mode-hook
@item mh-compose-letter-hook
@item mh-folder-mode-hook
@item mh-letter-mode-hook
@item mim-mode-hook
@item news-mode-hook
@item news-reply-mode-hook
@item news-setup-hook
@item nroff-mode-hook
@item outline-mode-hook
@item plain-TeX-mode-hook
@item prolog-mode-hook
@item protect-innocence-hook
@item rmail-edit-mode-hook
@item rmail-mode-hook
@item rmail-summary-mode-hook
@item scheme-indent-hook
@item scheme-mode-hook
@item scribe-mode-hook
@item shell-mode-hook
@item shell-set-directory-error-hook
@item suspend-hook
@item suspend-resume-hook
@item temp-buffer-show-hook
@item term-setup-hook
@item terminal-mode-hook
@item terminal-mode-break-hook
@item TeX-mode-hook
@item text-mode-hook
@item vi-mode-hook
@item view-hook
@item write-file-hooks
@item x-process-mouse-hook
@end table

