Variable: after-revert-hook

after-revert-hook is a variable defined in files.el.gz.

Value

(hif-after-revert-function
 vc-after-revert)

Documentation

Normal hook for revert-buffer to run after reverting.

Note that the hook value that it runs is the value that was in effect before reverting; that makes a difference if you have buffer-local hook functions.

The function revert-buffer--default runs this. A customized revert-buffer-function need not run this hook.

View in manual

Probably introduced at or before Emacs version 19.23.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defvar after-revert-hook nil
  "Normal hook for `revert-buffer' to run after reverting.
Note that the hook value that it runs is the value that was in effect
before reverting; that makes a difference if you have buffer-local
hook functions.

The function `revert-buffer--default' runs this.
A customized `revert-buffer-function' need not run this hook.")