+2001-10-25 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * frame.c (Fframe_parameter): Fix last change.
+
2001-10-25 Gerd Moellmann <gerd@gnu.org>
* frame.c (Fframe_parameter): Fix a bug whereby some
if (FRAME_LIVE_P (f))
{
+ /* Avoid consing in frequent cases. */
if (EQ (parameter, Qname))
value = f->name;
#ifdef HAVE_X_WINDOWS
}
}
}
+ else
+ value = Fcdr (Fassq (parameter, Fframe_parameters (frame)));
}
else if (EQ (parameter, Qdisplay_type)
|| EQ (parameter, Qbackground_mode))
- /* Avoid consing in frequent cases. */
value = Fcdr (Fassq (parameter, f->param_alist));
else
value = Fcdr (Fassq (parameter, Fframe_parameters (frame)));