From 0383e504fe53e3b9dc8baec56dba130caf13db90 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 21 May 2019 12:29:42 -0400 Subject: [PATCH] Fix exec-path on Windows #1423 Windows uses ; as its PATH separator. --- core/core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index d802cbd45..b7061caef 100644 --- a/core/core.el +++ b/core/core.el @@ -511,7 +511,8 @@ to least)." (when (and (not noninteractive) (file-readable-p doom-env-file)) (doom-load-env-vars doom-env-file) - (setq exec-path (append (split-string (getenv "PATH") ":") + (setq exec-path (append (split-string (getenv "PATH") + (if IS-WINDOWS ";" ":")) (list exec-directory)) shell-file-name (or (getenv "SHELL") shell-file-name))))