commit c6a74c789ba4bc210dac426b28bfe13eccb231e7
parent 04897cce7876b50cd99ac81af96ba16bac784bc4
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 2 Jul 2021 12:04:14 +0200
emacs: open github in chrome (generic)
GitHub is for work, I use Chrome for work (firefox for the rest)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/emacs/config/config-web.el b/tools/emacs/config/config-web.el
@@ -74,8 +74,8 @@ defined keys follow the pattern of <PREFIX> <KEY>.")
:after eww
:config
(setq browse-url-generic-program "google-chrome-stable")
- (setq browse-url-browser-function '(("^https://github.com.*" . browse-url-firefox)
- ("^https://gitlab.com.*" . browse-url-firefox)
+ (setq browse-url-browser-function '(("^https://gitlab.com.*" . browse-url-firefox)
+ ("^https://github.com.*" . browse-url-generic)
("^https://issues.redhat.com.*" . browse-url-generic)
("^https://.*redhat.com.*" . browse-url-generic)
("^https://docs.jboss.org.*" . browse-url-generic)