Function: magit-auto-revert-buffer-p

magit-auto-revert-buffer-p is a byte-compiled function defined in magit-autorevert.el.

Signature

(magit-auto-revert-buffer-p BUFFER)

Documentation

Return non-nil if BUFFER visits a file inside the current repository.

The current repository is the one containing default-directory. If there is no current repository, then return t for any BUFFER.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-autorevert.el
(defun magit-auto-revert-buffer-p (buffer)
  "Return non-nil if BUFFER visits a file inside the current repository.
The current repository is the one containing `default-directory'.
If there is no current repository, then return t for any BUFFER."
  (magit-auto-revert-repository-buffer-p buffer t))