From 8501ba09aa49c5c39bd67496eb52fd4856c2e483 Mon Sep 17 00:00:00 2001 From: jowj Date: Wed, 22 May 2019 13:13:11 -0500 Subject: [PATCH] Update emacs to use FF as default browser regardless of OS config. --- applicationConfiguration/.emacs/jlj-misc.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/applicationConfiguration/.emacs/jlj-misc.el b/applicationConfiguration/.emacs/jlj-misc.el index c38e186..7a38487 100644 --- a/applicationConfiguration/.emacs/jlj-misc.el +++ b/applicationConfiguration/.emacs/jlj-misc.el @@ -15,7 +15,12 @@ (setq require-final-newline t) (when (eq system-type 'darwin) - (setq mac-command-modifier 'meta)) ; deal with mac command key problems: + (setq mac-command-modifier 'meta) ; deal with mac command key problems: + ;; Make emacs use a different default than the OS + ;; only really useful on work computers, but there we go. + (setq browse-url-browser-function #'browse-url-generic + browse-url-generic-program "open" + browse-url-generic-args '("-a" "Firefox"))) (if (eq system-type 'windows-nt) (message "i am windows and suck") ; deal with mac command key problems