Skip to content

Commit 0c41522

Browse files
committed
feat: open url in Linux XWindow by www-browser
1 parent 715a712 commit 0c41522

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lisp/init-linux.el

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
;; Go
1313
(setenv "GOPATH" "/home/wh/codes/go")
1414

15+
(when window-system
16+
(setq browse-url-browser-function 'browse-url-generic
17+
browse-url-generic-program "www-browser"))
1518

1619
(defun my/activate-terminal()
1720
(error "TODO"))

0 commit comments

Comments
 (0)