summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/rcirc.el3
1 files changed, 3 insertions, 0 deletions
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