[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing the PATH from emacs?
From: |
Sven Joachim |
Subject: |
Re: Changing the PATH from emacs? |
Date: |
Mon, 11 Feb 2008 18:42:14 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) |
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'.
Sven
Re: Changing the PATH from emacs?, Sven Joachim, 2008/02/11
Re: Changing the PATH from emacs?, Stefan Monnier, 2008/02/13