revert-buffer-function
revert-buffer-function is a variable defined in `
files.el
'.
Its value is
revert-buffer--default
- This variable's value is permanent if it is given a local binding.
- This variable may be risky if used as a file-local variable.
Documentation:
Function to use to revert this buffer.
The function receives two arguments IGNORE-AUTO and NOCONFIRM,
which are the arguments that `revert-buffer' received.
It also has access to the `preserve-modes' argument of `revert-buffer'
via the `revert-buffer-preserve-modes' dynamic variable.
For historical reasons, a value of nil means to use the default function.
This should not be relied upon.