From eb7db9e6c24f46cd7671241cafb5144a2b34a5bf Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 4 Oct 1994 12:09:34 +0000 Subject: [PATCH] (insert_1, insert_from_string_1): Use new accessor macros instead of calling XSET directly. --- src/insdel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insdel.c b/src/insdel.c index 74f8503422b..969f70dba6e 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -334,7 +334,7 @@ insert_1 (string, length, inherit) 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 @@ insert_from_string_1 (string, pos, length, inherit) 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");