Mercurial > emacs
diff src/frame.c @ 85146:c37307b0bf01
* frame.c (Qenvironment): Remove.
(syms_of_frame) <Qenvironment>: Don't initialize.
(Fdelete_frame): Don't treat the `environment' param specially.
* frame.h (Qenvironment): Don't declare.
* callproc.c (set_initial_environment): Don't set unused frame param.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 10 Oct 2007 20:24:19 +0000 |
parents | bccebab2430e |
children | 591c29778a30 d38543a1c0f9 |
line wrap: on
line diff
--- a/src/frame.c Wed Oct 10 20:18:45 2007 +0000 +++ b/src/frame.c Wed Oct 10 20:24:19 2007 +0000 @@ -110,7 +110,6 @@ Lisp_Object Qtty_color_mode; Lisp_Object Qtty, Qtty_type; Lisp_Object Qwindow_system; -Lisp_Object Qenvironment; Lisp_Object Qfullscreen, Qfullwidth, Qfullheight, Qfullboth; @@ -1469,24 +1468,6 @@ if (EQ (f->minibuffer_window, echo_area_window)) echo_area_window = sf->minibuffer_window; - /* Don't allow other frames to refer to a deleted frame in their - 'environment parameter. */ - { - Lisp_Object tail, frame1; - Lisp_Object env = get_frame_param (XFRAME (frame), Qenvironment); - FOR_EACH_FRAME (tail, frame1) - { - if (EQ (frame, frame1) || !FRAME_LIVE_P (XFRAME (frame1))) - continue; - if (EQ (frame, get_frame_param (XFRAME (frame1), Qenvironment))) - { - store_frame_param (XFRAME (frame1), Qenvironment, env); - if (!FRAMEP (env)) - env = frame1; - } - } - } - /* Clear any X selections for this frame. */ #ifdef HAVE_X_WINDOWS if (FRAME_X_P (f)) @@ -4310,8 +4291,6 @@ staticpro (&Qtty_type); Qwindow_system = intern ("window-system"); staticpro (&Qwindow_system); - Qenvironment = intern ("environment"); - staticpro (&Qenvironment); Qface_set_after_frame_default = intern ("face-set-after-frame-default"); staticpro (&Qface_set_after_frame_default);