(update_compositions): If FROM and TO is not in a
valid range, do nothing.
This commit is contained in:
parent
9d3d591637
commit
d3f40cbd57
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue