Browse Source

Launch Google Chrome from emacs on macosx.

workspaces
Bruno Dias 4 years ago
parent
commit
27e955cddd
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      indium-chrome.el

+ 7
- 1
indium-chrome.el View File

@ -43,8 +43,14 @@
:prefix "indium-chrome-"
:group 'indium)
(defun indium-chrome--default-executable ()
"Return a default executable based on the OS."
(if (string-equal system-type "darwin")
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
"chromium"))
(defcustom indium-chrome-executable
"chromium"
(indium-chrome--default-executable)
"Chrome executable."
:type '(file))


Loading…
Cancel
Save