Function: denote--revert-dired
denote--revert-dired is a byte-compiled function defined in denote.el.
Signature
(denote--revert-dired BUFFER-TO-TRY-REVERT CURRENT-BUFFER)
Documentation
Maybe revert BUFFER-TO-TRY-REVERT.
Do it if BUFFER-TO-TRY-REVERT is in Dired mode and is either part of the
variable denote-directory(var)/denote-directory(fun) or equal to the CURRENT-BUFFER.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--revert-dired (buffer-to-try-revert current-buffer)
"Maybe revert BUFFER-TO-TRY-REVERT.
Do it if BUFFER-TO-TRY-REVERT is in Dired mode and is either part of the
variable `denote-directory' or equal to the CURRENT-BUFFER."
(with-current-buffer buffer-to-try-revert
(when (and (eq major-mode 'dired-mode)
(or (and default-directory (denote--dir-in-denote-directory-p default-directory))
(eq current-buffer buffer-to-try-revert)))
(revert-buffer))))