Function: forge-copy-url-at-point-as-kill
forge-copy-url-at-point-as-kill is an autoloaded, interactive and
byte-compiled function defined in forge-commands.el.
Signature
(forge-copy-url-at-point-as-kill)
Documentation
Copy the url of thing at point or the thing visited in the current buffer.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-commands.el
;;;###autoload
(defun forge-copy-url-at-point-as-kill ()
"Copy the url of thing at point or the thing visited in the current buffer."
(interactive)
(if-let ((target (forge--browse-target)))
(let ((url (if (stringp target) target (forge-get-url target))))
(kill-new url)
(message "Copied \"%s\"" url))
(user-error "Nothing at point with a URL")))