summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 43d99b256c9..03dec48e29a 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3655,14 +3655,7 @@ direct_output_for_insert (g)
fflush (stdout);
TRACE ((stderr, "direct output for insert\n"));
-
- UNCHANGED_MODIFIED = MODIFF;
- BEG_UNCHANGED = GPT - BEG;
- XSETFASTINT (w->last_point, PT);
- w->last_cursor = w->cursor;
- XSETFASTINT (w->last_modified, MODIFF);
- XSETFASTINT (w->last_overlay_modified, OVERLAY_MODIFF);
-
+ mark_window_display_accurate (it.window, 1);
redisplay_performed_directly_p = 1;
return 1;
}