properties PROPERTIES. BUFFER is the buffer containing
the text. This does not obey any hooks.
You can provide the interval that START is located in as I,
- or pass NULL for I and this function will find it. */
+ or pass NULL for I and this function will find it.
+ This function assumes that START < END. */
void
set_text_properties_1 (start, end, properties, buffer, i)
s = XINT (start);
len = XINT (end) - s;
+ eassert (len > 0);
if (i == 0)
i = find_interval (BUF_INTERVALS (XBUFFER (buffer)), s);