Function: forge-browse

forge-browse is an interactive and natively compiled function defined in forge-commands.el.

Signature

(forge-browse)

Documentation

Visit the thing at point using a browser.

Key Bindings

magit-mode-map C-c C-o

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-commands.el
;;;###autoload
(defun forge-browse ()
  "Visit the thing at point using a browser."
  (interactive)
  (if-let ((target (forge--browse-target)))
      (let ((forge-browse-topics-using-forge nil))
        (if (stringp target)
            (browse-url target)
          (browse-url (forge-get-url target))
          (when (cl-typep target 'forge-topic)
            (forge-topic-mark-read target))))
    (user-error "Nothing to browse here")))