Variable: revert-buffer-insert-file-contents-function

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

Value

revert-buffer-insert-file-contents--default-function

Documentation

Function to use to insert contents when reverting this buffer.

The function receives two arguments: the first the nominal file name to use; the second is t if reading the auto-save file.

The function is responsible for updating (or preserving) point.

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 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defvar revert-buffer-insert-file-contents-function
  #'revert-buffer-insert-file-contents--default-function
  "Function to use to insert contents when reverting this buffer.
The function receives two arguments: the first the nominal file name to use;
the second is t if reading the auto-save file.

The function is responsible for updating (or preserving) point.

For historical reasons, a value of nil means to use the default function.
This should not be relied upon.")