Function: magit-log-maybe-update-revision-buffer

magit-log-maybe-update-revision-buffer is a byte-compiled function defined in magit-log.el.

Signature

(magit-log-maybe-update-revision-buffer &optional _)

Documentation

When moving in a log or cherry buffer, update the revision buffer.

If there is no revision buffer in the same frame, then do nothing. See also info node (magit)Section Movement.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
(defun magit-log-maybe-update-revision-buffer (&optional _)
  "When moving in a log or cherry buffer, update the revision buffer.
If there is no revision buffer in the same frame, then do nothing.
See also info node `(magit)Section Movement'."
  (when (derived-mode-p 'magit-log-mode 'magit-cherry-mode 'magit-reflog-mode)
    (magit--maybe-update-revision-buffer)))