Revision: emacs--multi-tty--0--patch-467 Archive: lorentey@elte.hu--2004 Creator: Karoly Lorentey Date: Thu Dec 29 05:31:04 CET 2005 Standard-date: 2005-12-29 04:31:04 GMT Modified-files: README.multi-tty lisp/env.el lisp/frame.el lisp/server.el src/callproc.c src/frame.c src/frame.h src/lisp.h New-patches: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-467 Summary: Store local environment in frame (not terminal) parameters. Keywords: * src/callproc.c (child_setup, getenv_internal, Fgetenv_internal): Store the local environment in a frame (not terminal) parameter. Update doc strings. (syms_of_callproc): Update doc strings. (Qenvironment): Moved to frame.c. * lisp/env.el (read-envvar-name, setenv, getenv, environment): Use frame parameters to store the local environment, not terminal parameters. * server.el (server-process-filter): Store the local environment in a frame (not terminal) parameter. Do not try to decode environment strings. * lisp/frame.el (make-frame): Set up the 'environment frame parameter, when needed. * src/frame.c (Qenvironment): Move here from callproc.c. (Fdelete_frame): Don't allow other frames to refer to a deleted frame in their 'environment parameter. (Fframe_with_environment): New function. (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. * frame.h (Qenvironment): Declare. * lisp.h (Fframe_with_environment): EXFUN it.