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
fa9090b8
Commit
fa9090b8
authored
Jun 19, 2001
by
Gerd Moellmann
Browse files
(Ffind_composition_internal): Accept ZV
and a string's end position as POS.
parent
04d0b662
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/composite.c
src/composite.c
+2
-2
No files found.
src/ChangeLog
View file @
fa9090b8
2001-06-19 Gerd Moellmann <gerd@gnu.org>
* composite.c (Ffind_composition_internal): Accept ZV
and a string's end position as POS.
2001-06-18 Gerd Moellmann <gerd@gnu.org>
* composite.c (Ffind_composition_internal): Check POS
...
...
src/composite.c
View file @
fa9090b8
...
...
@@ -782,12 +782,12 @@ See `find-composition' for more detail.")
if
(
!
NILP
(
string
))
{
CHECK_STRING
(
string
,
2
);
if
(
XINT
(
pos
)
<
0
||
XINT
(
pos
)
>
=
XSTRING
(
string
)
->
size
)
if
(
XINT
(
pos
)
<
0
||
XINT
(
pos
)
>
XSTRING
(
string
)
->
size
)
args_out_of_range
(
string
,
pos
);
}
else
{
if
(
XINT
(
pos
)
<
BEGV
||
XINT
(
pos
)
>
=
ZV
)
if
(
XINT
(
pos
)
<
BEGV
||
XINT
(
pos
)
>
ZV
)
args_out_of_range
(
Fcurrent_buffer
(),
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