Mercurial > emacs
diff src/composite.c @ 28581:151b7ae3b21f
(update_compositions): If FROM and TO is not in a
valid range, do nothing.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 13 Apr 2000 23:38:19 +0000 |
| parents | bae9218986ac |
| children | 6a52904a743b |
line wrap: on
line diff
--- a/src/composite.c Thu Apr 13 23:37:37 2000 +0000 +++ b/src/composite.c Thu Apr 13 23:38:19 2000 +0000 @@ -475,6 +475,10 @@ 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
