Function: magit-insert-xref-buttons
magit-insert-xref-buttons is a byte-compiled function defined in
magit-mode.el.
Signature
(magit-insert-xref-buttons)
Documentation
Insert xref buttons.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-insert-xref-buttons ()
"Insert xref buttons."
(when (and (not magit-buffer-locked-p)
(or help-xref-stack help-xref-forward-stack))
(when help-xref-stack
(magit-xref-insert-button help-back-label 'magit-xref-backward))
(when help-xref-forward-stack
(when help-xref-stack
(insert " "))
(magit-xref-insert-button help-forward-label 'magit-xref-forward))))