Function: magit-stashes-maybe-update-stash-buffer

magit-stashes-maybe-update-stash-buffer is a byte-compiled function defined in magit-stash.el.

Signature

(magit-stashes-maybe-update-stash-buffer &optional _)

Documentation

When moving in the stashes buffer, update the stash buffer.

If there is no stash 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-stash.el
(defun magit-stashes-maybe-update-stash-buffer (&optional _)
  "When moving in the stashes buffer, update the stash buffer.
If there is no stash buffer in the same frame, then do nothing.
See also info node `(magit)Section Movement'."
  (when (derived-mode-p 'magit-stashes-mode)
    (magit--maybe-update-stash-buffer)))