From: Gerd Moellmann Date: Sun, 31 Mar 2002 17:08:42 +0000 (+0000) Subject: (direct_output_for_insert): Call X-Git-Tag: emacs-pretest-21.2.91~317 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ed7415a88ba8dc8d677745b1abcf1cc33f4c35d;p=emacs.git (direct_output_for_insert): Call mark_window_display_accurate. --- diff --git a/src/ChangeLog b/src/ChangeLog index 816cc94e5d7..9602faa4990 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-03-31 Gerd Moellmann + + * dispnew.c (direct_output_for_insert): Call + mark_window_display_accurate. + 2002-03-16 Eli Zaretskii * Version 21.2 released. diff --git a/src/dispnew.c b/src/dispnew.c index 81752a66f01..021ddb9e2ee 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1,5 +1,5 @@ /* Updating of data structures for redisplay. - Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000, 2001 + Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -3672,14 +3672,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; }