diff src/dispnew.c @ 44260:64c67a3eebb2

(direct_output_for_insert): Call mark_window_display_accurate.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 30 Mar 2002 11:54:45 +0000
parents 5b4c5b84bb9d
children 17ecdf2d924c
line wrap: on
line diff
--- a/src/dispnew.c	Sat Mar 30 08:09:08 2002 +0000
+++ b/src/dispnew.c	Sat Mar 30 11:54:45 2002 +0000
@@ -3655,14 +3655,7 @@
   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;
 }