Commit d3f40cbd authored by Kenichi Handa's avatar Kenichi Handa
Browse files

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

valid range, do nothing.
parent 9d3d5916
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment