aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-11-25 10:14:15 +0000
committerGerd Moellmann1999-11-25 10:14:15 +0000
commit975c62260a4e3773e343f9727a95836f490765a9 (patch)
tree4efcd56379dfcec4f131fec5ff20ca2de623e507 /src
parent0c8559bbd1761feef1cb076d620b1ce63b20b942 (diff)
downloademacs-975c62260a4e3773e343f9727a95836f490765a9.tar.gz
emacs-975c62260a4e3773e343f9727a95836f490765a9.zip
(direct_output_for_insert): Set glyph row's
displays_text_p flag. Correct window's window_end_vpos if necessary.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c4
1 files changed, 4 insertions, 0 deletions
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)
3181 glyph_row->contains_overlapping_glyphs_p 3181 glyph_row->contains_overlapping_glyphs_p
3182 |= it.glyph_row->contains_overlapping_glyphs_p; 3182 |= it.glyph_row->contains_overlapping_glyphs_p;
3183 3183
3184 glyph_row->displays_text_p = 1;
3185 w->window_end_vpos = make_number (max (w->cursor.vpos,
3186 XFASTINT (w->window_end_vpos)));
3187
3184 if (!NILP (Vshow_trailing_whitespace)) 3188 if (!NILP (Vshow_trailing_whitespace))
3185 highlight_trailing_whitespace (it.f, glyph_row); 3189 highlight_trailing_whitespace (it.f, glyph_row);
3186 3190