Function: browse-url-button-copy

browse-url-button-copy is an interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-button-copy)

Documentation

Copy the URL under point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
(defun browse-url-button-copy ()
  "Copy the URL under point."
  (interactive)
  (let ((url (get-text-property (point) 'browse-url-data)))
    (unless url
      (error "No URL under point"))
    (kill-new url)
    (message "Copied %s" url)))