[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e91da7f: ; Add a comment for make-text-button in rc
From: |
Miles Bader |
Subject: |
[Emacs-diffs] master e91da7f: ; Add a comment for make-text-button in rcirc-markup-urls |
Date: |
Sat, 9 Sep 2017 10:31:26 -0400 (EDT) |
branch: master
commit e91da7f8f2523057fa93ea4aace36863315abb5b
Author: Miles Bader <address@hidden>
Commit: Miles Bader <address@hidden>
; 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 60af197..6377f79 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e91da7f: ; Add a comment for make-text-button in rcirc-markup-urls,
Miles Bader <=