Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
eb7db9e6
Commit
eb7db9e6
authored
Oct 04, 1994
by
Karl Heuer
Browse files
(insert_1, insert_from_string_1): Use new accessor macros instead of calling
XSET directly.
parent
f8f645a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/insdel.c
src/insdel.c
+2
-2
No files found.
src/insdel.c
View file @
eb7db9e6
...
...
@@ -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
);
XSET
INT
(
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
);
XSET
INT
(
temp
,
length
+
Z
);
if
(
length
+
Z
!=
XINT
(
temp
))
error
(
"maximum buffer size exceeded"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment