summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-button.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-08-01 13:59:01 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-08-01 13:59:01 +0200
commit75690d7fac331744eda76a4b23c36a74ff9bcb07 (patch)
treeb10ae4baadefa2ed8cd8021b2b1f72c1986667eb /lisp/erc/erc-button.el
parent70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216 (diff)
downloademacs-75690d7fac331744eda76a4b23c36a74ff9bcb07.tar.gz
Make `C-u RET' in erc use the secondary browser
* lisp/erc/erc-button.el (erc-button-alist): Use the version of `browse-url' that interprets `C-u RET' as using the secondary browser.
Diffstat (limited to 'lisp/erc/erc-button.el')
-rw-r--r--lisp/erc/erc-button.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el
index c2702081daf..726d9674d40 100644
--- a/lisp/erc/erc-button.el
+++ b/lisp/erc/erc-button.el
@@ -133,8 +133,8 @@ longer than `erc-fill-column'."
;; bytecompiling lambdas in this alist. On the other hand, it makes
;; things hard to maintain.
'(('nicknames 0 erc-button-buttonize-nicks erc-nick-popup 0)
- (erc-button-url-regexp 0 t browse-url 0)
- ("<URL: *\\([^<> ]+\\) *>" 0 t browse-url 1)
+ (erc-button-url-regexp 0 t browse-url-button-open-url 0)
+ ("<URL: *\\([^<> ]+\\) *>" 0 t browse-url-button-open-url 1)
;;; ("(\\(\\([^~\n \t@][^\n \t@]*\\)@\\([a-zA-Z0-9.:-]+\\)\\)" 1 t finger 2 3)
;; emacs internal
("[`]\\([a-zA-Z][-a-zA-Z_0-9]+\\)[']" 1 t erc-button-describe-symbol 1)