[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec-path not changed in autostart
From: |
Eli Zaretskii |
Subject: |
Re: exec-path not changed in autostart |
Date: |
Fri, 19 Dec 2014 23:46:10 +0200 |
> Date: Fri, 19 Dec 2014 13:09:19 -0800 (PST)
> From: Xin Jin <zariskij@gmail.com>
> Injection-Date: Fri, 19 Dec 2014 21:09:20 +0000
>
> I use the following code to add the paths from the shell environment to
> exec-path:
>
> (setq exec-path
> (append
> (split-string-and-unquote (getenv "PATH") ":")
> exec-path))
Why do you need that? exec-path already includes the directories from
$PATH, so the above sounds redundant.