aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1999-01-11 11:42:52 +0000
committerKenichi Handa1999-01-11 11:42:52 +0000
commit9c36993afd877acd6c219bb402c69aa4a47569c3 (patch)
tree77725c043d1ef16b4fe1201a254cfc6d7b16ceaf /src
parenta45dc86eeb938f8d325050c4ccd2cb3aa9706acf (diff)
downloademacs-9c36993afd877acd6c219bb402c69aa4a47569c3.tar.gz
emacs-9c36993afd877acd6c219bb402c69aa4a47569c3.zip
(del_range_1): Call signal_after_change.
(del_range_byte): Likewise. (del_range_both): Likewise. (del_range_2): Don't call signal_after_change.
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 3c056ffe41f..87f0a7898dc 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -2063,6 +2063,7 @@ del_range_1 (from, to, prepare)
2063 to_byte = CHAR_TO_BYTE (to); 2063 to_byte = CHAR_TO_BYTE (to);
2064 2064
2065 del_range_2 (from, from_byte, to, to_byte); 2065 del_range_2 (from, from_byte, to, to_byte);
2066 signal_after_change (from, to - from, 0);
2066} 2067}
2067 2068
2068/* Like del_range_1 but args are byte positions, not char positions. */ 2069/* Like del_range_1 but args are byte positions, not char positions. */
@@ -2099,6 +2100,7 @@ del_range_byte (from_byte, to_byte, prepare)
2099 } 2100 }
2100 2101
2101 del_range_2 (from, from_byte, to, to_byte); 2102 del_range_2 (from, from_byte, to, to_byte);
2103 signal_after_change (from, to - from, 0);
2102} 2104}
2103 2105
2104/* Like del_range_1, but positions are specified both as charpos 2106/* Like del_range_1, but positions are specified both as charpos
@@ -2136,6 +2138,7 @@ del_range_both (from, from_byte, to, to_byte, prepare)
2136 } 2138 }
2137 2139
2138 del_range_2 (from, from_byte, to, to_byte); 2140 del_range_2 (from, from_byte, to, to_byte);
2141 signal_after_change (from, to - from, 0);
2139} 2142}
2140 2143
2141/* Delete a range of text, specified both as character positions 2144/* Delete a range of text, specified both as character positions
@@ -2263,7 +2266,6 @@ del_range_2 (from, from_byte, to, to_byte)
2263 CHECK_MARKERS (); 2266 CHECK_MARKERS ();
2264 2267
2265 evaporate_overlays (from); 2268 evaporate_overlays (from);
2266 signal_after_change (from, nchars_del, 0);
2267} 2269}
2268 2270
2269/* Call this if you're about to change the region of BUFFER from 2271/* Call this if you're about to change the region of BUFFER from