diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-01 13:59:01 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-01 13:59:01 +0200 |
commit | 75690d7fac331744eda76a4b23c36a74ff9bcb07 (patch) | |
tree | b10ae4baadefa2ed8cd8021b2b1f72c1986667eb /lisp/erc/erc-button.el | |
parent | 70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216 (diff) | |
download | emacs-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.el | 4 |
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) |