GNU Info

Info Node: (elisp)Standard Hooks

(elisp)Standard Hooks


Next: Index Prev: Standard Keymaps Up: Top
Enter node , (file) or (file)node

Standard Hooks
**************

   The following is a list of hook variables that let you provide
functions to be called from within Emacs on suitable occasions.

   Most of these variables have names ending with `-hook'.  They are
"normal hooks", run by means of `run-hooks'.  The value of such a hook
is a list of functions; the functions are called with no arguments and
their values are completely ignored.  The recommended way to put a new
function on such a hook is to call `add-hook'.  Note: Hooks, for more
information about using hooks.

   The variables whose names end in `-hooks' or `-functions' are
usually "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).  A few of these variables are actually normal
hooks which were named before we established the convention that normal
hooks' names should end in `-hook'.

   The variables whose names end in `-function' have single functions
as their values.  (In older Emacs versions, some of these variables had
names ending in `-hook' even though they were not normal hooks;
however, we have renamed all of those.)

`activate-mark-hook'

`after-change-functions'

`after-init-hook'

`after-insert-file-functions'

`after-make-frame-functions'

`after-revert-hook'

`after-save-hook'

`apropos-mode-hook'

`auto-fill-function'

`auto-save-hook'

`before-change-functions'

`before-init-hook'

`before-make-frame-hook'

`before-revert-hook'

`blink-paren-function'

`buffer-access-fontify-functions'

`c-mode-hook'

`calendar-load-hook'

`change-major-mode-hook'

`command-history-hook'

`command-line-functions'

`comment-indent-function'

`deactivate-mark-hook'

`diary-display-hook'

`diary-hook'

`dired-mode-hook'

`disabled-command-hook'

`echo-area-clear-hook'

`edit-picture-hook'

`electric-buffer-menu-mode-hook'

`electric-command-history-hook'

`electric-help-mode-hook'

`emacs-lisp-mode-hook'

`find-file-hooks'

`find-file-not-found-hooks'

`first-change-hook'

`fortran-comment-hook'

`fortran-mode-hook'

`indent-mim-hook'

`initial-calendar-window-hook'

`kbd-macro-termination-hook'

`kill-buffer-hook'

`kill-buffer-query-functions'

`kill-emacs-hook'

`kill-emacs-query-functions'

`LaTeX-mode-hook'

`ledit-mode-hook'

`lisp-indent-function'

`lisp-interaction-mode-hook'

`lisp-mode-hook'

`list-diary-entries-hook'

`local-write-file-hooks'

`mail-mode-hook'

`mail-setup-hook'

`mark-diary-entries-hook'

`medit-mode-hook'

`menu-bar-update-hook'

`minibuffer-setup-hook'

`minibuffer-exit-hook'

`mouse-position-function'

`news-mode-hook'

`news-reply-mode-hook'

`news-setup-hook'

`nongregorian-diary-listing-hook'

`nongregorian-diary-marking-hook'

`nroff-mode-hook'

`outline-mode-hook'

`plain-TeX-mode-hook'

`post-command-hook'

`pre-abbrev-expand-hook'

`pre-command-hook'

`print-diary-entries-hook'

`prolog-mode-hook'

`protect-innocence-hook'

`redisplay-end-trigger-functions'

`rmail-edit-mode-hook'

`rmail-mode-hook'

`rmail-summary-mode-hook'

`scheme-indent-hook'

`scheme-mode-hook'

`scribe-mode-hook'

`shell-mode-hook'

`shell-set-directory-error-hook'

`suspend-hook'

`suspend-resume-hook'

`temp-buffer-show-function'

`term-setup-hook'

`terminal-mode-hook'

`terminal-mode-break-hook'

`TeX-mode-hook'

`text-mode-hook'

`today-visible-calendar-hook'

`today-invisible-calendar-hook'

`vi-mode-hook'

`view-hook'

`window-configuration-change-hook'

`window-scroll-functions'

`window-setup-hook'

`window-size-change-functions'

`write-contents-hooks'

`write-file-hooks'

`write-region-annotate-functions'

automatically generated by info2www version 1.2.2.9