From 975c62260a4e3773e343f9727a95836f490765a9 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 25 Nov 1999 10:14:15 +0000 Subject: [PATCH] (direct_output_for_insert): Set glyph row's displays_text_p flag. Correct window's window_end_vpos if necessary. --- src/dispnew.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5