Load exec-path-from-shell only on Mac and Windows
This is just a hygiene improvement, since I only use a Mac at the moment. Even so, it's a good change to have.
This commit is contained in:
parent
60daf6e0c6
commit
5fc4596f2a
2 changed files with 4 additions and 0 deletions
|
@ -1098,8 +1098,11 @@ technicalities.
|
|||
:CUSTOM_ID: h:D4517B67-0D90-417E-97D7-60A08EABB3DA
|
||||
:END:
|
||||
|
||||
The ~PATH~ variable does not get set properly on Mac OSX and Windows machines, and due to this Emacs often does not find the right executables when calling external programs. ~exec-path-from-shell~ fixes this.
|
||||
|
||||
#+begin_src emacs-lisp :tangle "unravel-modules/unravel-essentials.el"
|
||||
(use-package exec-path-from-shell
|
||||
:if (memq (window-system) '(mac ns))
|
||||
:ensure t
|
||||
:demand t
|
||||
:config
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
(setq debug-on-error t))
|
||||
|
||||
(use-package exec-path-from-shell
|
||||
:if (memq (window-system) '(mac ns))
|
||||
:ensure t
|
||||
:demand t
|
||||
:config
|
||||
|
|
Loading…
Reference in a new issue