diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/init.el b/init.el index 0d0284d..6058eef 100644 --- a/init.el +++ b/init.el | |||
@@ -96,16 +96,17 @@ | |||
96 | (global-auto-revert-mode +1)) | 96 | (global-auto-revert-mode +1)) |
97 | 97 | ||
98 | (setup browse-url | 98 | (setup browse-url |
99 | (when (acdw/system :work) | ||
100 | (add-to-list 'exec-path "C:/Program Files/Mozilla Firefox")) | ||
101 | |||
99 | (setq-default browse-url-browser-function ; can be alist (regex . function) | 102 | (setq-default browse-url-browser-function ; can be alist (regex . function) |
100 | '(("." . eww-browse-url)) | 103 | '(("." . eww-browse-url)) |
101 | browse-url-secondary-browser-function | 104 | browse-url-secondary-browser-function |
102 | (if (executable-find "firefox") | 105 | (if (executable-find "firefox") ; prefer Firefox |
103 | 'browse-url-firefox | 106 | 'browse-url-firefox |
104 | 'browse-url-default-browser) | 107 | 'browse-url-default-browser) |
105 | browse-url-new-window-flag t | 108 | browse-url-new-window-flag t |
106 | browse-url-firefox-new-window-is-tab t) | 109 | browse-url-firefox-new-window-is-tab t)) |
107 | (when (acdw/system :work) | ||
108 | (add-to-list 'exec-path "C:/Program Files/Mozilla Firefox"))) | ||
109 | 110 | ||
110 | (setup buffers | 111 | (setup buffers |
111 | (:global "C-x k" acdw/kill-a-buffer)) | 112 | (:global "C-x k" acdw/kill-a-buffer)) |