# HG changeset patch # User Gerd Moellmann # Date 937255640 0 # Node ID 9e6edb8bc24248d7e86ba5e51066e5e4e537b99d # Parent 475a9b6bd640d22161c374ee38febbae76bb9235 (redisplay_window): Make sure start_at_line_beg is always set correctly. diff -r 475a9b6bd640 -r 9e6edb8bc242 src/xdisp.c --- a/src/xdisp.c Mon Sep 13 19:26:18 1999 +0000 +++ b/src/xdisp.c Mon Sep 13 20:47:20 1999 +0000 @@ -8910,13 +8910,13 @@ make_cursor_line_fully_visible (w); + done: + SET_TEXT_POS_FROM_MARKER (startp, w->start); w->start_at_line_beg = ((CHARPOS (startp) == BEGV || FETCH_BYTE (BYTEPOS (startp) - 1) == '\n') ? Qt : Qnil); - done: - /* Display the mode line, if we must. */ if ((update_mode_line /* If window not full width, must redo its mode line