aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 833d0065a1b..0a76dfa537f 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -629,6 +629,15 @@ prepare_to_modify_buffer (start, end)
629 629
630 signal_before_change (start, end); 630 signal_before_change (start, end);
631 631
632 if (current_buffer->newline_cache)
633 invalidate_region_cache (current_buffer,
634 current_buffer->newline_cache,
635 start - BEG, Z - end);
636 if (current_buffer->width_run_cache)
637 invalidate_region_cache (current_buffer,
638 current_buffer->width_run_cache,
639 start - BEG, Z - end);
640
632 Vdeactivate_mark = Qt; 641 Vdeactivate_mark = Qt;
633} 642}
634 643