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

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

Re: Changing the PATH from emacs?


From: Stefan Arentz
Subject: Re: Changing the PATH from emacs?
Date: Mon, 11 Feb 2008 18:52:46 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Sven Joachim <svenjoac@gmx.de> writes:

> On 2008-02-11 18:25 +0100, Peter Dyballa wrote:
>
>> Am 11.02.2008 um 17:28 schrieb Stefan Arentz:
>>
>>> There doesn't seem to be a way to do this through Emacs.app/Info.plist
>>> so my question is whether it possible to change the PATH from my
>>> .emacs profile?
>>
>>      (setenv "PATH" (concat "/opt/local/bin" ":" (getenv "PATH")))
>
> Are you sure that this will work?  AFAIK `setenv' only modifies the
> environment of subprocesses; where Emacs searches for programs is
> determined by the lisp variable `exec-path'.

Indeed. It did not work, I tested it the wrong way and was confused.

Your exec-path hint did the trick though!

 S.


reply via email to

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