diff options
| author | Kenichi Handa | 2000-02-11 02:20:49 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-02-11 02:20:49 +0000 |
| commit | 233cc02d548aceeec1234570cf19c8633b450c01 (patch) | |
| tree | 655b4ebdef29fb797172f2e364d66afc24b34697 /src | |
| parent | 0e85e4a3169f17b68339d1d0fe66145e49688c34 (diff) | |
| download | emacs-233cc02d548aceeec1234570cf19c8633b450c01.tar.gz emacs-233cc02d548aceeec1234570cf19c8633b450c01.zip | |
(del_range_1): Call update_compositions.
(del_range_both): Call update_compositions just once..
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 2053 | deletion = del_range_2 (from, from_byte, to, to_byte, ret_string); | 2053 | deletion = del_range_2 (from, from_byte, to, to_byte, ret_string); |
| 2054 | GCPRO1(deletion); | 2054 | GCPRO1(deletion); |
| 2055 | signal_after_change (from, to - from, 0); | 2055 | signal_after_change (from, to - from, 0); |
| 2056 | update_compositions (from, from, CHECK_HEAD); | ||
| 2056 | UNGCPRO; | 2057 | UNGCPRO; |
| 2057 | return deletion; | 2058 | return deletion; |
| 2058 | } | 2059 | } |
| @@ -2132,7 +2133,6 @@ del_range_both (from, from_byte, to, to_byte, prepare) | |||
| 2132 | del_range_2 (from, from_byte, to, to_byte, 0); | 2133 | del_range_2 (from, from_byte, to, to_byte, 0); |
| 2133 | signal_after_change (from, to - from, 0); | 2134 | signal_after_change (from, to - from, 0); |
| 2134 | update_compositions (from, from, CHECK_HEAD); | 2135 | update_compositions (from, from, CHECK_HEAD); |
| 2135 | update_compositions (from, from, CHECK_HEAD); | ||
| 2136 | } | 2136 | } |
| 2137 | 2137 | ||
| 2138 | /* Delete a range of text, specified both as character positions | 2138 | /* Delete a range of text, specified both as character positions |