diff options
-rw-r--r-- | init.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/init.el b/init.el index 0f818c9..1508a8d 100644 --- a/init.el +++ b/init.el | |||
@@ -306,6 +306,20 @@ | |||
306 | (acdw/pkg magit | 306 | (acdw/pkg magit |
307 | :binds (("g" magit-status :map acdw/leader))) | 307 | :binds (("g" magit-status :map acdw/leader))) |
308 | 308 | ||
309 | ;;; Web browsing | ||
310 | |||
311 | (acdw/set '((browse-url-browser-function browse-url-firefox) | ||
312 | (browse-url-new-window-flag t) | ||
313 | (browse-url-firefox-new-window-is-tab t) | ||
314 | (shr-max-width fill-column) | ||
315 | (shr-width fill-column))) | ||
316 | |||
317 | (when (eq acdw/system :work) | ||
318 | (add-to-list 'exec-path "C:/Program Files/ Mozilla Firefox")) | ||
319 | |||
320 | (acdw/hooks text-mode-hook goto-address-mode) | ||
321 | (acdw/hooks prog-mode-hook goto-address-prog-mode) | ||
322 | |||
309 | ;;; Miscellaneous | 323 | ;;; Miscellaneous |
310 | 324 | ||
311 | (acdw/set '((disabled-command-function nil) | 325 | (acdw/set '((disabled-command-function nil) |