Mercurial > emacs
diff src/xdisp.c @ 90103:3ebd9bdb4fe5
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-13
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-83
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-89
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-90
Update from CVS: man/calc.texi: Add macro for LaTeX for info output.
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-91
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-94
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 13 Feb 2005 07:19:08 +0000 |
parents | 72cf6261961e 582f5e2fbf3a |
children | 7e3f621f1dd4 |
line wrap: on
line diff
--- a/src/xdisp.c Sun Feb 13 00:40:20 2005 +0000 +++ b/src/xdisp.c Sun Feb 13 07:19:08 2005 +0000 @@ -13927,7 +13927,12 @@ bottom_vpos, dy); if (first_unchanged_at_end_row) - first_unchanged_at_end_row += dvpos; + { + first_unchanged_at_end_row += dvpos; + if (first_unchanged_at_end_row->y >= it.last_visible_y + || !MATRIX_ROW_DISPLAYS_TEXT_P (first_unchanged_at_end_row)) + first_unchanged_at_end_row = NULL; + } /* If scrolling up, there may be some lines to display at the end of the window. */ @@ -13984,7 +13989,6 @@ /* Update window_end_pos and window_end_vpos. */ if (first_unchanged_at_end_row - && first_unchanged_at_end_row->y < it.last_visible_y && !last_text_row_at_end) { /* Window end line if one of the preserved rows from the current @@ -22235,7 +22239,9 @@ || (r.y >= y0 && r.y < y1) || (r.y + r.height > y0 && r.y + r.height < y1)) { - if (row->overlapping_p) + /* A header line may be overlapping, but there is no need + to fix overlapping areas for them. KFS 2005-02-12 */ + if (row->overlapping_p && !row->mode_line_p) { if (first_overlapping_row == NULL) first_overlapping_row = row;