Mercurial > emacs
diff README.multi-tty @ 83529:0d9e16eab053
Rework environment variable support. (Reported by Kalle Olavi Niemitalo and Noah Friedman.)
* src/callproc.c (Vglobal_environment, Vlocal_environment_variables): Remove.
(getenv_internal, child_setup): Don't look at global-environment or
local-environment-variables.
(Fgetenv_internal): Update docs.
(set_initial_environment): Rename from set_global_environment. Store
Emacs environment in initial frame parameter.
(syms_of_callproc): Remove obsolete defvars. Update docs.
* lisp/env.el (read-envvar-name): Remove reference to global-environment.
(setenv-internal): New function.
(setenv): Use it. Always set process-environment. Update docs.
(getenv): Update docs.
(environment): Rewrite for the new environment design. Update docs.
* lisp/frame.el (frame-initialize): Copy the environment from the initial frame.
* src/emacs.c (main): Call set_initial_environment, not set_global_environment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-569
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 26 May 2006 17:37:25 +0000 |
parents | 673d62ad74b5 |
children | 6c8cebe86511 |
line wrap: on
line diff
--- a/README.multi-tty Wed May 24 12:14:26 2006 +0000 +++ b/README.multi-tty Fri May 26 17:37:25 2006 +0000 @@ -40,6 +40,7 @@ Robert J. Chassell <bob@rattlesnake.com> Romain Francoise <romain@orebokech.com> Ami Fischman <ami@fischman.org> +Noah Friedman <friedman@splode.com> Friedrich Delgado Friedrichs <friedel@nomaden.org> IRIE Tetsuya <irie@t.email.ne.jp> Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>