help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NT Emacs and Cygwin


From: Eli Zaretskii
Subject: Re: NT Emacs and Cygwin
Date: Sun, 28 Nov 2004 22:02:09 +0200

> From: Elvin Peterson <elvin_peterson@yahoo.com>
> Date: Sun, 28 Nov 2004 21:24:44 +0530
> 
>       I am using
> 
> (setenv "PATH" (concat (getenv "PATH") ";C:\\cygwin\\bin"))
> 
> to add cygwin's path, but emacs cannot find the executables.

setenv modifies the environment that Emacs passes to its subprocesses,
but doesn't affect the environment Emacs itself uses.  Thus, the value
of PATH seen by Emacs will not change after the above.

You need to modify PATH outside of Emacs, and before Emacs is invoked,
to get what you want.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]