Mercurial > emacs
comparison src/xdisp.c @ 25695:9e6edb8bc242
(redisplay_window): Make sure start_at_line_beg
is always set correctly.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 13 Sep 1999 20:47:20 +0000 |
parents | b12ed057020a |
children | 790503d553e1 |
comparison
equal
deleted
inserted
replaced
25694:475a9b6bd640 | 25695:9e6edb8bc242 |
---|---|
8908 set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); | 8908 set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); |
8909 } | 8909 } |
8910 | 8910 |
8911 make_cursor_line_fully_visible (w); | 8911 make_cursor_line_fully_visible (w); |
8912 | 8912 |
8913 done: | |
8914 | |
8913 SET_TEXT_POS_FROM_MARKER (startp, w->start); | 8915 SET_TEXT_POS_FROM_MARKER (startp, w->start); |
8914 w->start_at_line_beg = ((CHARPOS (startp) == BEGV | 8916 w->start_at_line_beg = ((CHARPOS (startp) == BEGV |
8915 || FETCH_BYTE (BYTEPOS (startp) - 1) == '\n') | 8917 || FETCH_BYTE (BYTEPOS (startp) - 1) == '\n') |
8916 ? Qt : Qnil); | 8918 ? Qt : Qnil); |
8917 | |
8918 done: | |
8919 | 8919 |
8920 /* Display the mode line, if we must. */ | 8920 /* Display the mode line, if we must. */ |
8921 if ((update_mode_line | 8921 if ((update_mode_line |
8922 /* If window not full width, must redo its mode line | 8922 /* If window not full width, must redo its mode line |
8923 if (a) the window to its side is being redone and | 8923 if (a) the window to its side is being redone and |