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.
This commit is contained in:
parent
fee7a645c0
commit
e65b5af709
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue