about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-03-11 12:10:54 -0600
committerCase Duckworth2021-03-11 12:15:12 -0600
commit487b78c0a187f5fdfafb92e4c0feb837a571b2a9 (patch)
tree839bd380c42589778be031de0dd8182d34257c38 /init.el
parentInstall `minions' (diff)
downloademacs-487b78c0a187f5fdfafb92e4c0feb837a571b2a9.tar.gz
emacs-487b78c0a187f5fdfafb92e4c0feb837a571b2a9.zip
Configure web browsing
Diffstat (limited to 'init.el')
-rw-r--r--init.el14
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)