Mercurial > emacs
changeset 24041:2eed8853546f
(del_range_1): Call signal_after_change.
(del_range_byte): Likewise.
(del_range_both): Likewise.
(del_range_2): Don't call signal_after_change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 11 Jan 1999 11:42:52 +0000 |
parents | d178122d6122 |
children | d7313d5217e2 |
files | src/insdel.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insdel.c Mon Jan 11 11:42:52 1999 +0000 +++ b/src/insdel.c Mon Jan 11 11:42:52 1999 +0000 @@ -2063,6 +2063,7 @@ to_byte = CHAR_TO_BYTE (to); del_range_2 (from, from_byte, to, to_byte); + signal_after_change (from, to - from, 0); } /* Like del_range_1 but args are byte positions, not char positions. */ @@ -2099,6 +2100,7 @@ } del_range_2 (from, from_byte, to, to_byte); + signal_after_change (from, to - from, 0); } /* Like del_range_1, but positions are specified both as charpos @@ -2136,6 +2138,7 @@ } del_range_2 (from, from_byte, to, to_byte); + signal_after_change (from, to - from, 0); } /* Delete a range of text, specified both as character positions @@ -2263,7 +2266,6 @@ CHECK_MARKERS (); evaporate_overlays (from); - signal_after_change (from, nchars_del, 0); } /* Call this if you're about to change the region of BUFFER from