mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -451,7 +451,7 @@ unreadable. Returns the names of envvars that were changed."
|
|||||||
(append (nreverse environment) process-environment)
|
(append (nreverse environment) process-environment)
|
||||||
exec-path
|
exec-path
|
||||||
(if (member "PATH" envvars)
|
(if (member "PATH" envvars)
|
||||||
(append (parse-colon-path (getenv "PATH"))
|
(append (split-string (getenv "PATH") path-separator t)
|
||||||
(list exec-directory))
|
(list exec-directory))
|
||||||
exec-path)
|
exec-path)
|
||||||
shell-file-name
|
shell-file-name
|
||||||
|
Reference in New Issue
Block a user