From e65b5af709e87faf8db4e8250d5e843a6a16ddd5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 15 Jan 2020 02:04:14 -0500 Subject: [PATCH] Strip nils from exec-path parse-colon-path will replace some paths with a nil, so we use split-string instead with a non-nil OMIT-NULLS argument instead. --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 8dda3010f..95fa17048 100644 --- a/core/core.el +++ b/core/core.el @@ -451,7 +451,7 @@ unreadable. Returns the names of envvars that were changed." (append (nreverse environment) process-environment) exec-path (if (member "PATH" envvars) - (append (parse-colon-path (getenv "PATH")) + (append (split-string (getenv "PATH") path-separator t) (list exec-directory)) exec-path) shell-file-name