changeset 9270:405b269631c3

(insert_1, insert_from_string_1): Use new accessor macros instead of calling XSET directly.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 12:09:34 +0000
parents 0f29bb3f784f
children 1971a6a8cdc0
files src/insdel.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Tue Oct 04 12:08:52 1994 +0000
+++ b/src/insdel.c	Tue Oct 04 12:09:34 1994 +0000
@@ -334,7 +334,7 @@
   register Lisp_Object temp;
 
   /* Make sure point-max won't overflow after this insertion.  */
-  XSET (temp, Lisp_Int, length + Z);
+  XSETINT (temp, length + Z);
   if (length + Z != XINT (temp))
     error ("maximum buffer size exceeded");
 
@@ -400,7 +400,7 @@
   struct gcpro gcpro1;
 
   /* Make sure point-max won't overflow after this insertion.  */
-  XSET (temp, Lisp_Int, length + Z);
+  XSETINT (temp, length + Z);
   if (length + Z != XINT (temp))
     error ("maximum buffer size exceeded");