Variable: magit-auto-revert-mode

magit-auto-revert-mode is a customizable variable defined in magit-autorevert.el.

Value

nil

Documentation

Non-nil if Magit-Auto-Revert mode is enabled.

See the magit-auto-revert-mode(var)/magit-auto-revert-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function magit-auto-revert-mode(var)/magit-auto-revert-mode(fun).

This variable was added, or its default value changed, in magit version 2.4.0.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-autorevert.el
;;;###autoload
(define-globalized-minor-mode magit-auto-revert-mode auto-revert-mode
  magit-turn-on-auto-revert-mode-if-desired
  :package-version '(magit . "2.4.0")
  :link '(info-link "(magit)Automatic Reverting of File-Visiting Buffers")
  :group 'magit-auto-revert
  :group 'magit-essentials
  :init-value (not (or global-auto-revert-mode noninteractive))
  :initialize #'magit-auto-revert-mode--initialize)