From 95605b1b7a0621c5ee12369f1318474b9afedc4d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 1 Jul 2002 08:00:07 +0000 Subject: [PATCH] (Frecenter): With arg, set optional_new_start. --- src/window.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/window.c b/src/window.c index ee9cc610bb0..d8e089329ae 100644 --- a/src/window.c +++ b/src/window.c @@ -4781,11 +4781,9 @@ and redisplay normally--don't erase and redraw the frame. */) /* 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 -- 2.39.5