From: Lars Ingebrigtsen Date: Tue, 30 Jul 2019 14:06:51 +0000 (+0200) Subject: Tweak `browse-url-add-buttons' for better button.el comp X-Git-Tag: emacs-27.0.90~1817^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08953259b9e6e8f41b68a47cdec99e56e5cc9f6f;p=emacs.git 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. --- diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index c5bd415fe74..6382e66f615 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -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)