From e619a6b33838488a35a39200fc180811a31ab444 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 30 Jul 2019 15:23:22 +0200 Subject: [PATCH] Mark shr buttons as button.el buffers * lisp/net/shr.el (shr-urlify): Mark buttons as button.el buffers for easier reuse in buttonified buffers. --- lisp/net/shr.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 7555d6c6aec..fbd1a9b7661 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -1207,6 +1207,8 @@ START, and END. Note that START and END should be markers." (add-text-properties start (point) (list 'shr-url url + 'button t + 'category 'shr ; For button.el button buffers. 'help-echo (let ((parsed (url-generic-parse-url (or (ignore-errors (decode-coding-string -- 2.39.2