From e91da7f8f2523057fa93ea4aace36863315abb5b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 9 Sep 2017 23:28:08 +0900 Subject: [PATCH] ; Add a comment for make-text-button in rcirc-markup-urls --- lisp/net/rcirc.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 60af1973ccb..6377f791f45 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2499,6 +2499,9 @@ If ARG is given, opens the URL in a new browser window." (end (match-end 0)) (url (match-string-no-properties 0)) (link-text (buffer-substring-no-properties start end))) + ;; Add a button for the URL. Note that we use `make-text-button', + ;; rather than `make-button', as text-buttons are much faster in + ;; large buffers. (make-text-button start end 'face 'rcirc-url 'follow-link t -- 2.39.2