Function: magit-xref-insert-button

magit-xref-insert-button is a natively compiled function defined in magit-mode.el.

Signature

(magit-xref-insert-button LABEL TYPE)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-mode.el
(defun magit-xref-insert-button (label type)
  (magit-insert-section (button label)
    (insert-text-button label 'type type
                        'help-args (list (current-buffer)))))