aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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