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
b98ef0dc
Commit
b98ef0dc
authored
Apr 14, 1998
by
Andreas Schwab
Browse files
(Fchar_after, Fchar_before): Fix mixing of Lisp_Object
and int
parent
b39f748c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/editfns.c
src/editfns.c
+2
-2
No files found.
src/editfns.c
View file @
b98ef0dc
...
...
@@ -579,7 +579,7 @@ If `enable-multibyte-characters' is nil or POS is not at character boundary,\n\
else
{
CHECK_NUMBER_COERCE_MARKER
(
pos
,
0
);
if
(
pos
<
BEGV
||
pos
>=
ZV
)
if
(
XINT
(
pos
)
<
BEGV
||
XINT
(
pos
)
>=
ZV
)
return
Qnil
;
pos_byte
=
CHAR_TO_BYTE
(
XINT
(
pos
));
...
...
@@ -614,7 +614,7 @@ is returned as a character.")
{
CHECK_NUMBER_COERCE_MARKER
(
pos
,
0
);
if
(
pos
<=
BEGV
||
pos
>
ZV
)
if
(
XINT
(
pos
)
<=
BEGV
||
XINT
(
pos
)
>
ZV
)
return
Qnil
;
pos_byte
=
CHAR_TO_BYTE
(
XINT
(
pos
));
...
...
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