1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00

(direct_output_for_insert): Set glyph row's

displays_text_p flag.  Correct window's window_end_vpos if
necessary.
This commit is contained in:
Gerd Moellmann 1999-11-25 10:14:15 +00:00
parent 0c8559bbd1
commit 975c62260a

View file

@ -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);