From 74d481acba80075a27582f6a2509eb83700fef68 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 13 Sep 1999 20:47:20 +0000 Subject: [PATCH] (redisplay_window): Make sure start_at_line_beg is always set correctly. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 3f4f1c098d0..567b9558fde 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -8910,13 +8910,13 @@ redisplay_window (window, just_this_one_p) 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 -- 2.39.5