diff options
author | Miles Bader <miles@gnu.org> | 2017-09-09 23:28:08 +0900 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2017-09-09 23:28:08 +0900 |
commit | e91da7f8f2523057fa93ea4aace36863315abb5b (patch) | |
tree | 9ae3d17405096a66af4acd383b07b3e0d2320bf5 /lisp/net/rcirc.el | |
parent | d1da8e534db54bb82b6f2b16bba86a6d202ac675 (diff) | |
download | emacs-e91da7f8f2523057fa93ea4aace36863315abb5b.tar.gz |
; Add a comment for make-text-button in rcirc-markup-urls
Diffstat (limited to 'lisp/net/rcirc.el')
-rw-r--r-- | lisp/net/rcirc.el | 3 |
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 |