From aa203404b8859ee9b5b3140a3bb5320f9da3d36f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 20 Sep 2016 02:54:38 -0700 Subject: [PATCH] [Emacs] Set default browser to chrome in linux --- dotfiles/emacs.d/README.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 5160611f..aef5c3e4 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -982,6 +982,12 @@ proced is an top like utility that runs inside of emacs. The following sets auto (setq proced-auto-update-interval 1) (add-hook 'proced-mode-hook (lambda () (proced-toggle-auto-update +1))) #+END_SRC +** Set default browser +#+BEGIN_SRC emacs-lisp +(when (equal system-type 'gnu/linux) + (setq browse-url-browser-function 'browse-url-generic + browse-url-generic-program "google-chrome-stable")) +#+END_SRC ** Misc #+BEGIN_SRC emacs-lisp (defvar iedit-toggle-key-default nil)