From: Gerd Moellmann Date: Mon, 13 Sep 1999 20:47:20 +0000 (+0000) Subject: (redisplay_window): Make sure start_at_line_beg X-Git-Tag: emacs-pretest-21.0.90~6747 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74d481acba80075a27582f6a2509eb83700fef68;p=emacs.git (redisplay_window): Make sure start_at_line_beg is always set correctly. --- 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