]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak `browse-url-add-buttons' for better button.el comp
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2019 14:06:51 +0000 (16:06 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 30 Jul 2019 14:07:44 +0000 (16:07 +0200)
* lisp/net/browse-url.el (browse-url-add-buttons): Make browse-url
buttons be understood by `forward-button' and the like.

lisp/net/browse-url.el

index c5bd415fe74f03d50a7992fe6f89cc43025ee924..6382e66f615603acf5fd483bc44558fcd8d4c3b2 100644 (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)