aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index c64dd89f81d..aa7226cfd8a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1679,7 +1679,8 @@ redisplay_window (window, just_this_one)
1679 1679
1680 /* Try to scroll by specified few lines */ 1680 /* Try to scroll by specified few lines */
1681 1681
1682 if (scroll_step && !current_buffer->clip_changed) 1682 if (scroll_step && !current_buffer->clip_changed
1683 && startp >= BEGV && startp <= ZV)
1683 { 1684 {
1684 if (PT > startp) 1685 if (PT > startp)
1685 { 1686 {