From: Gerd Moellmann Date: Thu, 25 Nov 1999 10:14:15 +0000 (+0000) Subject: (direct_output_for_insert): Set glyph row's X-Git-Tag: emacs-pretest-21.0.90~5977 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=975c62260a4e3773e343f9727a95836f490765a9;p=emacs.git (direct_output_for_insert): Set glyph row's displays_text_p flag. Correct window's window_end_vpos if necessary. --- diff --git a/src/dispnew.c b/src/dispnew.c index e827b520da0..3d5797da6dd 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3181,6 +3181,10 @@ direct_output_for_insert (g) glyph_row->contains_overlapping_glyphs_p |= it.glyph_row->contains_overlapping_glyphs_p; + glyph_row->displays_text_p = 1; + w->window_end_vpos = make_number (max (w->cursor.vpos, + XFASTINT (w->window_end_vpos))); + if (!NILP (Vshow_trailing_whitespace)) highlight_trailing_whitespace (it.f, glyph_row);