Modify PATH only when msys2 exists
This commit is contained in:
parent
5db2e86db3
commit
2ec9c5a5eb
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
|||
browse-url-secondary-browser-function 'browse-url-firefox))
|
||||
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setenv "PATH" (string-join `("C:\\msys64\\usr\\bin" ,(getenv "PATH")) ":"))
|
||||
(when (file-exists-p "c:/msys64/msys2.exe")
|
||||
(setenv "PATH" (string-join `("C:\\msys64\\usr\\bin" ,(getenv "PATH")) ":")))
|
||||
|
||||
(setq custom-file "~/.emacs.d/bundle/custom_win32.el"
|
||||
org-babel-python-command "python")
|
||||
|
|
Loading…
Add table
Reference in a new issue