and a string's end position as POS.
+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
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);
}