diff --git a/bundle/bundle--customfile.el b/bundle/bundle--customfile.el index 70f9b68f..bb4eaf5f 100644 --- a/bundle/bundle--customfile.el +++ b/bundle/bundle--customfile.el @@ -5,8 +5,8 @@ browse-url-secondary-browser-function 'browse-url-firefox)) (when (eq system-type 'windows-nt) - (when (file-exists-p "c:/msys64/msys2.exe") - (setenv "PATH" (string-join `("C:\\msys64\\usr\\bin" ,(getenv "PATH")) ":"))) + (add-to-list 'exec-path "C:/msys64/mingw64/bin") + (add-to-list 'exec-path "C:/msys64/usr/bin") (setq custom-file "~/.emacs.d/bundle/custom_win32.el" org-babel-python-command "python")