Commit 74d481ac authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(redisplay_window): Make sure start_at_line_beg

is always set correctly.
parent 0f25ecc6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment