Mercurial > emacs
diff src/window.c @ 46108:7b8b4ec9573c
(Frecenter): With arg, set optional_new_start.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 01 Jul 2002 08:00:07 +0000 |
| parents | 9aaff453806d |
| children | 35153dd59211 |
line wrap: on
line diff
--- a/src/window.c Mon Jul 01 07:59:16 2002 +0000 +++ b/src/window.c Mon Jul 01 08:00:07 2002 +0000 @@ -4781,11 +4781,9 @@ /* Set the new window start. */ set_marker_both (w->start, w->buffer, charpos, bytepos); w->window_end_valid = Qnil; -#if 0 /* This is wrong because the whole idea is that point is - on the screen. If it moves away before redisplay, - we should not override that. */ - w->force_start = Qt; -#endif + + w->optional_new_start = Qt; + if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n') w->start_at_line_beg = Qt; else
