2001-01-03 Gerd Moellmann <gerd@gnu.org>
+ * window.c (Frecenter): When changing the window start, set the
+ window's window_end_valid to nil.
+ (Fwindow_end): Fix window-end computation when UPDATE is non-nil.
+
+ * dispextern.h (move_it_past_eol): Add prototype.
+
+ * xdisp.c (move_it_past_eol): New function.
+
* window.c (Fwindow_end): Doc fix.
2001-01-03 Dave Love <fx@gnu.org>
cope with variable-height lines. */
start_display (&it, w, startp);
move_it_vertically (&it, window_box_height (w));
+ move_it_past_eol (&it);
value = make_number (IT_CHARPOS (it));
}
else
/* Set the new window start. */
set_marker_both (w->start, w->buffer, charpos, bytepos);
+ w->window_end_valid = Qnil;
w->force_start = Qt;
if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n')
w->start_at_line_beg = Qt;