(update_compositions): If FROM and TO is not in a

valid range, do nothing.
This commit is contained in:
Kenichi Handa 2000-04-13 23:38:19 +00:00
parent 9d3d591637
commit d3f40cbd57

View file

@ -475,6 +475,10 @@ update_compositions (from, to, check_mask)
Lisp_Object prop, hook;
int start, end;
/* If FROM and TO are not in a valid range, do nothing. */
if (! (BEGV <= from && from <= to && to <= ZV))
return;
if (check_mask & CHECK_HEAD)
{
/* FROM should be at composition boundary. But, insertion or