[Top][All Lists]

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

Re: getenv behavior or bug

From: Harald Hanche-Olsen
Subject: Re: getenv behavior or bug
Date: Mon, 28 Feb 2011 19:33:45 +0100 (CET)

[Thierry Volpiatto <address@hidden> (2011-02-28 18:03:13 UTC)]

> Thanks for answer,
> So what's the environment variables emacs set on startup?

Not very many. Perhaps none. You can find out yourself: Just run

  env - /usr/bin/emacs -q --batch --eval '(pp process-environment)'

from the command line. Replace /usr/bin/emacs by the absolute path to
your emacs; with an empty environment, the emacs executable can't be
found outherwise. The standard emacs on one ubuntu system I have
access to, prints just nil in response. (If I redirect stderr to
/dev/null that is.)

- Harald

reply via email to

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