changeset 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 5521ba01dafd
children 105b01b90125
files src/insdel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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