summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-07-03 04:53:21 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-07-03 04:53:21 +0000
commitde87fb5978903768aff3c71857ebca173461bea3 (patch)
treea730da52bd15d248d83d5a897c462bc2c2b3a65b /src/frame.c
parent5f06b6081389843ba2d2d817683eb4e610f7a24e (diff)
downloademacs-de87fb5978903768aff3c71857ebca173461bea3.tar.gz
* server.el (server-process-filter): Likewise.
(server-process-filter): Likewise. Also set COLORFGBG and COLORTERM. * frame.el (frame-initialize, make-frame): Likewise. * faces.el (tty-set-up-initial-frame-faces): Likewise. * env.el (read-envvar-name): Don't consider the environment frame param. (setenv): Set display-environment-variable and term-environment-variable. * frame.c (Qterm_environment_variable, Qdisplay_environment_variable): New variables. (syms_of_frame): Intern and staticpro them. * frame.h: Declare them here. * callproc.c (child_setup): Use the display-environment-variable and term-environment-variable frame params. (getenv_internal): Likewise. (set_initial_environment): Initialise Vprocess_environment. * frames.texi (Basic Parameters): Add display-environment-variable and term-environment-variable.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index a1b4e6bd85f..d081fbf55a2 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -111,6 +111,8 @@ Lisp_Object Qtty_color_mode;
Lisp_Object Qtty, Qtty_type;
Lisp_Object Qwindow_system;
Lisp_Object Qenvironment;
+Lisp_Object Qterm_environment_variable;
+Lisp_Object Qdisplay_environment_variable;
Lisp_Object Qfullscreen, Qfullwidth, Qfullheight, Qfullboth;
@@ -4353,7 +4355,12 @@ syms_of_frame ()
staticpro (&Qwindow_system);
Qenvironment = intern ("environment");
staticpro (&Qenvironment);
-
+
+ Qterm_environment_variable = intern ("term-environment-variable");
+ staticpro (&Qterm_environment_variable);
+ Qdisplay_environment_variable = intern ("display-environment-variable");
+ staticpro (&Qdisplay_environment_variable);
+
Qface_set_after_frame_default = intern ("face-set-after-frame-default");
staticpro (&Qface_set_after_frame_default);