# HG changeset patch # User Gerd Moellmann # Date 983475066 0 # Node ID bd660efb3fe7462a8514e0957330de87a01dfa95 # Parent 67c8e0a89b2d9780a7e0bf9e1b15a36e365834de (Fwindow_end): Call move_it_past_eol only if ending up on a partially visible line. diff -r 67c8e0a89b2d -r bd660efb3fe7 src/window.c --- a/src/window.c Thu Mar 01 18:47:58 2001 +0000 +++ b/src/window.c Thu Mar 01 19:31:06 2001 +0000 @@ -930,7 +930,8 @@ start_display (&it, w, startp); move_it_vertically (&it, window_box_height (w)); - move_it_past_eol (&it); + if (it.current_y < it.last_visible_y) + move_it_past_eol (&it); value = make_number (IT_CHARPOS (it)); if (old_buffer)