mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-05 21:02:24 -07:00
(insert_1, insert_from_string_1): Use new accessor macros instead of calling
XSET directly.
This commit is contained in:
parent
f8f645a1c2
commit
eb7db9e6c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue