From: Richard M. Stallman Date: Mon, 1 Jul 2002 08:00:07 +0000 (+0000) Subject: (Frecenter): With arg, set optional_new_start. X-Git-Tag: ttn-vms-21-2-B4~14371 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95605b1b7a0621c5ee12369f1318474b9afedc4d;p=emacs.git (Frecenter): With arg, set optional_new_start. --- 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