Mercurial > emacs
diff src/insdel.c @ 27664:c5c27d509bdf
(del_range_1): Call update_compositions.
(del_range_both): Call update_compositions just once..
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 11 Feb 2000 02:20:49 +0000 |
parents | 96ecaefd97a0 |
children | 4b675266db04 |
line wrap: on
line diff
--- a/src/insdel.c Fri Feb 11 02:20:01 2000 +0000 +++ b/src/insdel.c Fri Feb 11 02:20:49 2000 +0000 @@ -2053,6 +2053,7 @@ deletion = del_range_2 (from, from_byte, to, to_byte, ret_string); GCPRO1(deletion); signal_after_change (from, to - from, 0); + update_compositions (from, from, CHECK_HEAD); UNGCPRO; return deletion; } @@ -2132,7 +2133,6 @@ del_range_2 (from, from_byte, to, to_byte, 0); signal_after_change (from, to - from, 0); update_compositions (from, from, CHECK_HEAD); - update_compositions (from, from, CHECK_HEAD); } /* Delete a range of text, specified both as character positions