Variable: revert-without-query

revert-without-query is a customizable variable defined in files.el.gz.

Value

nil

Documentation

Specify which files should be reverted without query.

The value is a list of regular expressions. If the file name matches one of these regular expressions, then revert-buffer reverts the file without querying if the file has changed on disk and you have not edited the buffer.

Probably introduced at or before Emacs version 20.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom revert-without-query nil
  "Specify which files should be reverted without query.
The value is a list of regular expressions.
If the file name matches one of these regular expressions,
then `revert-buffer' reverts the file without querying
if the file has changed on disk and you have not edited the buffer."
  :type '(repeat regexp)
  :group 'find-file)