From: Lars Ingebrigtsen Date: Tue, 30 Jul 2019 13:23:22 +0000 (+0200) Subject: Mark shr buttons as button.el buffers X-Git-Tag: emacs-27.0.90~1817^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e619a6b33838488a35a39200fc180811a31ab444;p=emacs.git 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. --- 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