diff src/textprop.c @ 39973:579177964efa

Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting with lisp system changes.
author Ken Raeburn <raeburn@raeburn.org>
date Tue, 16 Oct 2001 09:09:51 +0000
parents 30754f5e9665
children e528f2adeed4
line wrap: on
line diff
--- a/src/textprop.c	Mon Oct 15 20:52:59 2001 +0000
+++ b/src/textprop.c	Tue Oct 16 09:09:51 2001 +0000
@@ -1738,7 +1738,7 @@
       end = XCAR (XCDR (item));
 
       if (EQ (end, old_end))
-	XCAR (XCDR (item)) = new_end;
+	XSETCAR (XCDR (item), new_end);
     }
 }