Variable: revert-buffer-function

revert-buffer-function is a variable defined in files.el.gz.

Value

revert-buffer--default

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.

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defvar revert-buffer-function #'revert-buffer--default
  "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.")