4781 |
/* Set the new window start. */ |
/* Set the new window start. */ |
4782 |
set_marker_both (w->start, w->buffer, charpos, bytepos); |
set_marker_both (w->start, w->buffer, charpos, bytepos); |
4783 |
w->window_end_valid = Qnil; |
w->window_end_valid = Qnil; |
4784 |
#if 0 /* This is wrong because the whole idea is that point is |
|
4785 |
on the screen. If it moves away before redisplay, |
w->optional_new_start = Qt; |
4786 |
we should not override that. */ |
|
|
w->force_start = Qt; |
|
|
#endif |
|
4787 |
if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n') |
if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n') |
4788 |
w->start_at_line_beg = Qt; |
w->start_at_line_beg = Qt; |
4789 |
else |
else |