1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

Tweak `browse-url-add-buttons' for better button.el comp

* lisp/net/browse-url.el (browse-url-add-buttons): Make browse-url
buttons be understood by `forward-button' and the like.
This commit is contained in:
Lars Ingebrigtsen 2019-07-30 16:06:51 +02:00
parent 8bd6245e56
commit 08953259b9

View file

@ -1675,6 +1675,7 @@ clickable and will use `browse-url' to open the URLs in question."
keymap ,browse-url-button-map
face browse-url-button
button t
category browse-url
browse-url-data ,(match-string 0)))))))
(defun browse-url-button-open (&optional external mouse-event)