[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frame-environment
From: |
Stefan Monnier |
Subject: |
Re: frame-environment |
Date: |
Sat, 17 Jan 2009 20:52:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> In addition, the first part of this bit of `environment's doc string
>> is simply a lie:
> The docstring for getenv-internal also seems to have problems:
> If optional parameter ENV is a list, then search this list instead of
> `process-environment', and return t when encountering a negative entry.
> What does it mean "when encountering a negative entry"?
An entry of the form "VAR" instead of "VAR=VAL". Such an entry means
"remove VAR from the environment", IIRC.
> If it is a frame, then this function will ignore `process-environment' and
> will simply look up the variable in that frame's environment.
This is out-of-date and should be removed.
> Moreover, getenv_internal only looks for one specific variable in the
> "frame envionment", namely DISPLAY:
This is not the "frame environment" (which is the `environment'
frame-parameter).
Stefan
Re: frame-environment, Chong Yidong, 2009/01/17
Re: frame-environment, Stefan Monnier, 2009/01/17