Commit e91da7f8 authored by Miles Bader's avatar Miles Bader
Browse files

; Add a comment for make-text-button in rcirc-markup-urls

parent d1da8e53
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment