diff options
| author | Lars Ingebrigtsen | 2019-08-01 13:59:01 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-01 13:59:01 +0200 |
| commit | 75690d7fac331744eda76a4b23c36a74ff9bcb07 (patch) | |
| tree | b10ae4baadefa2ed8cd8021b2b1f72c1986667eb | |
| parent | 70a2f2b09a902e0408aa0b640d0c2e1e5dcc6216 (diff) | |
| download | emacs-75690d7fac331744eda76a4b23c36a74ff9bcb07.tar.gz emacs-75690d7fac331744eda76a4b23c36a74ff9bcb07.zip | |
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.
| -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'." | |||
| 133 | ;; bytecompiling lambdas in this alist. On the other hand, it makes | 133 | ;; bytecompiling lambdas in this alist. On the other hand, it makes |
| 134 | ;; things hard to maintain. | 134 | ;; things hard to maintain. |
| 135 | '(('nicknames 0 erc-button-buttonize-nicks erc-nick-popup 0) | 135 | '(('nicknames 0 erc-button-buttonize-nicks erc-nick-popup 0) |
| 136 | (erc-button-url-regexp 0 t browse-url 0) | 136 | (erc-button-url-regexp 0 t browse-url-button-open-url 0) |
| 137 | ("<URL: *\\([^<> ]+\\) *>" 0 t browse-url 1) | 137 | ("<URL: *\\([^<> ]+\\) *>" 0 t browse-url-button-open-url 1) |
| 138 | ;;; ("(\\(\\([^~\n \t@][^\n \t@]*\\)@\\([a-zA-Z0-9.:-]+\\)\\)" 1 t finger 2 3) | 138 | ;;; ("(\\(\\([^~\n \t@][^\n \t@]*\\)@\\([a-zA-Z0-9.:-]+\\)\\)" 1 t finger 2 3) |
| 139 | ;; emacs internal | 139 | ;; emacs internal |
| 140 | ("[`]\\([a-zA-Z][-a-zA-Z_0-9]+\\)[']" 1 t erc-button-describe-symbol 1) | 140 | ("[`]\\([a-zA-Z][-a-zA-Z_0-9]+\\)[']" 1 t erc-button-describe-symbol 1) |