after-revert-hook is a variable defined in `files.el'.
Its value is

  • This variable may be risky if used as a file-local variable.

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.