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

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

Re: setenv


From: Miles Bader
Subject: Re: setenv
Date: 03 Oct 2001 10:10:40 +0900

address@hidden (Thomas F. Burdick) writes:
> The intuitive behavior is for process-environment to work like an
> alist; this is confirmed by checking with `getenv'.  However, when the
> behind-the-scenes syncing happens, does it do
...
> That entries earlier in the list supersede the later entries should be
> explicitly stated.

I agree, the documentation should specify this.

[Currently the only place any `syncing' takes place is in
process-creation, and there it does work as you think it should.]

I've changed it to the following:

  List of environment variables for subprocesses to inherit.
  Each element should be a string of the form ENVVARNAME=VALUE.
  If multiple entries define the same variable, the first one always
  takes precedence.
  The environment which Emacs inherits is placed in this variable
  when Emacs starts.

Does that seem reasonable to you?

-Miles
-- 
Somebody has to do something, and it's just incredibly pathetic that it
 has to be us.  -- Jerry Garcia



reply via email to

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