Function: magit-browse-thing

magit-browse-thing is an interactive and natively compiled function defined in magit-mode.el.

Signature

(magit-browse-thing)

Documentation

This is a placeholder command, which may signal an error if called.

Where applicable, other keymaps remap this command to another, which actually visits thing at point using browse-url.

Key Bindings

magit-mode-map C-c C-o

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-mode.el
(defun magit-browse-thing ()
  "This is a placeholder command, which may signal an error if called.
Where applicable, other keymaps remap this command to another,
which actually visits thing at point using `browse-url'."
  (declare (completion ignore))
  (interactive)
  (if-let ((url (thing-at-point 'url t)))
      (browse-url url)
    (user-error "There is no thing at point that could be browsed")))