Function: vc-auto-revert-mode

vc-auto-revert-mode is an interactive and byte-compiled function defined in vc-hooks.el.gz.

Signature

(vc-auto-revert-mode &optional ARG)

Documentation

Toggle Auto-Revert mode in many buffers.

Specifically, Auto-Revert mode is enabled in all buffers where vc-turn-on-auto-revert-mode-for-tracked-files would do it.

With prefix ARG, enable Vc-Auto-Revert mode if ARG is positive; otherwise, disable it.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

See auto-revert-mode(var)/auto-revert-mode(fun) for more information on Auto-Revert mode.

View in manual

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hooks.el.gz
(define-globalized-minor-mode vc-auto-revert-mode auto-revert-mode
  vc-turn-on-auto-revert-mode-for-tracked-files
  :group 'vc
  :version "31.1")