From 75690d7fac331744eda76a4b23c36a74ff9bcb07 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 1 Aug 2019 13:59:01 +0200 Subject: [PATCH] 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. --- lisp/erc/erc-button.el | 4 ++-- 1 file 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) - (" ]+\\) *>" 0 t browse-url 1) + (erc-button-url-regexp 0 t browse-url-button-open-url 0) + (" ]+\\) *>" 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) -- 2.39.2