changeset 93203:7327632ad432

(Fmodify_frame_parameters, x_set_frame_parameters): Use XCAR/XCDR.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 25 Mar 2008 18:31:36 +0000
parents 81cc0380dd95
children 9f83f0ec5257
files src/ChangeLog src/frame.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 25 17:50:07 2008 +0000
+++ b/src/ChangeLog	Tue Mar 25 18:31:36 2008 +0000
@@ -1,5 +1,8 @@
 2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* frame.c (Fmodify_frame_parameters, x_set_frame_parameters):
+	Use XCAR/XCDR.
+
 	* process.h (struct Lisp_Process): Remove filter_multibyte.
 	* process.c (QCfilter_multibyte): Remove.
 	(setup_process_coding_systems): Don't use filter_multibyte.
--- a/src/frame.c	Tue Mar 25 17:50:07 2008 +0000
+++ b/src/frame.c	Tue Mar 25 18:31:36 2008 +0000
@@ -2573,11 +2573,11 @@
       /* Extract parm names and values into those vectors.  */
 
       i = 0;
-      for (tail = alist; CONSP (tail); tail = Fcdr (tail))
+      for (tail = alist; CONSP (tail); tail = XCDR (tail))
 	{
 	  Lisp_Object elt;
 
-	  elt = Fcar (tail);
+	  elt = XCAR (tail);
 	  parms[i] = Fcar (elt);
 	  values[i] = Fcdr (elt);
 	  i++;
@@ -2956,11 +2956,11 @@
   /* Extract parm names and values into those vectors.  */
 
   i = 0;
-  for (tail = alist; CONSP (tail); tail = Fcdr (tail))
+  for (tail = alist; CONSP (tail); tail = XCDR (tail))
     {
       Lisp_Object elt;
 
-      elt = Fcar (tail);
+      elt = XCAR (tail);
       parms[i] = Fcar (elt);
       values[i] = Fcdr (elt);
       i++;