aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-01 08:00:07 +0000
committerRichard M. Stallman2002-07-01 08:00:07 +0000
commit95605b1b7a0621c5ee12369f1318474b9afedc4d (patch)
tree4cf1cd0650d7a0774b1214453defa9b07be41f35 /src
parentf47d4504cc7673d642176f6247a62124b0709e12 (diff)
downloademacs-95605b1b7a0621c5ee12369f1318474b9afedc4d.tar.gz
emacs-95605b1b7a0621c5ee12369f1318474b9afedc4d.zip
(Frecenter): With arg, set optional_new_start.
Diffstat (limited to 'src')
-rw-r--r--src/window.c8
1 files 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. */)
4781 /* Set the new window start. */ 4781 /* Set the new window start. */
4782 set_marker_both (w->start, w->buffer, charpos, bytepos); 4782 set_marker_both (w->start, w->buffer, charpos, bytepos);
4783 w->window_end_valid = Qnil; 4783 w->window_end_valid = Qnil;
4784#if 0 /* This is wrong because the whole idea is that point is 4784
4785 on the screen. If it moves away before redisplay, 4785 w->optional_new_start = Qt;
4786 we should not override that. */ 4786
4787 w->force_start = Qt;
4788#endif
4789 if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n') 4787 if (bytepos == BEGV_BYTE || FETCH_BYTE (bytepos - 1) == '\n')
4790 w->start_at_line_beg = Qt; 4788 w->start_at_line_beg = Qt;
4791 else 4789 else