From: Kenichi Handa Date: Fri, 11 Feb 2000 02:20:49 +0000 (+0000) Subject: (del_range_1): Call update_compositions. X-Git-Tag: emacs-pretest-21.0.90~5050 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=233cc02d548aceeec1234570cf19c8633b450c01;p=emacs.git (del_range_1): Call update_compositions. (del_range_both): Call update_compositions just once.. --- diff --git a/src/insdel.c b/src/insdel.c index 051152949aa..3cab83711ba 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -2053,6 +2053,7 @@ del_range_1 (from, to, prepare, ret_string) 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_both (from, from_byte, to, to_byte, prepare) 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