(lispref.info)Standard Hooks


Next: Antinews Prev: Standard Keymaps Up: Top

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

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

   Most of these variables have names ending with `-hook' are "normal
hooks", that are run with `run-hooks'.  The value of such a hook is a
list of functions.  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 `-function' have single functions
as their values.  Usually there is a specific reason why the variable is
not a normal hook, such as, the need to pass an argument to the
function.  (In older Emacs versions, some of these variables had names
ending in `-hook' even though they were not normal hooks.)

   The variables whose names end in `-hooks' have lists of functions as
their values, but these functions are called in a special way (they are
passed arguments, or else their values are used).

`?? activate-mark-hook'
`activate-menubar-hook'
`ad-definition-hooks'
`add-log-current-defun-function'
`after-change-function'
`after-delete-annotation-hook'
`after-init-hook'
`after-insert-file-functions'
`after-save-hook'
`after-set-visited-file-name-hooks'
`after-write-file-hooks'
`auto-fill-function'
`auto-save-hook'
`before-change-function'
`before-delete-annotation-hook'
`before-init-hook'
`blink-paren-function'
`buffers-menu-switch-to-buffer-function'
`c++-mode-hook'
`c-mode-hook'
`?? calendar-load-hook'
`?? command-history-hook'
`comment-indent-function'
`compilation-buffer-name-function'
`compilation-finish-function'
`compilation-mode-hook'
`create-screen-hook'
`delete-screen-hook'
`deselect-screen-hook'
`?? diary-display-hook'
`?? diary-hook'
`dired-after-readin-hook'
`dired-before-readin-hook'
`dired-load-hook'
`dired-mode-hook'
`disabled-command-hook'
`display-buffer-function'
`?? 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'
`font-lock-mode-hook'
`?? fortran-comment-hook'
`?? fortran-mode-hook'
`?? ftp-setup-write-file-hooks'
`?? ftp-write-file-hook'
`indent-line-function'
`?? indent-mim-hook'
`indent-region-function'
`?? initial-calendar-window-hook'
`isearch-mode-end-hook'
`isearch-mode-hook'
`kill-buffer-hook'
`kill-emacs-hook'
`kill-hooks'
`?? LaTeX-mode-hook'
`?? ledit-mode-hook'
`lisp-indent-function'
`?? lisp-interaction-mode-hook'
`?? lisp-mode-hook'
`?? list-diary-entries-hook'
`?? m2-mode-hook'
`?? mail-mode-hook'
`?? mail-setup-hook'
`make-annotation-hook'
`map-screen-hook'
`?? mark-diary-entries-hook'
`?? medit-mode-hook'
`menu-no-selection-hook'
`?? mh-compose-letter-hook'
`?? mh-folder-mode-hook'
`?? mh-letter-mode-hook'
`?? mim-mode-hook'
`minibuffer-setup-hook'
`mode-motion-hook'
`mouse-enter-screen-hook'
`mouse-leave-screen-hook'
`?? 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'
`post-gc-hook'
`pre-abbrev-expand-hook'
`pre-command-hook'
`pre-display-buffer-function'
`pre-gc-hook'
`?? print-diary-entries-hook'
`?? prolog-mode-hook'
`?? protect-innocence-hook'
`revert-buffer-function'
`revert-buffer-insert-contents-function'
`?? rmail-edit-mode-hook'
`?? rmail-mode-hook'
`?? rmail-summary-mode-hook'
`?? scheme-indent-hook'
`?? scheme-mode-hook'
`screen-creation-function'
`?? scribe-mode-hook'
`select-screen-hook'
`send-mail-function'
`?? 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'
`tooltalk-message-handler-hook'
`tooltalk-pattern-handler-hook'
`tooltalk-unprocessed-message-hook'
`unmap-screen-hook'
`vc-checkin-hook'
`?? vi-mode-hook'
`?? view-hook'
`window-setup-hook'
`write-contents-hooks'
`write-file-hooks'
`write-region-annotate-functions'
`x-lost-selection-hooks'
`x-sent-selection-hooks'
`zmacs-activate-region-hook'
`zmacs-deactivate-region-hook'
`zmacs-update-region-hook'

automatically generated by info2www