Fix bug #12811 with scrolling under scroll-up/down-aggressively.
commitacf93bcf1922b4d157c217a7a76b30d028d1043d
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Nov 2012 16:36:02 +0000 (6 18:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Nov 2012 16:36:02 +0000 (6 18:36 +0200)
tree1842ec8cc533e92ac09ff591cbc60698dd10502d
parent072c7b659c4b80e453666ba6c6724c3a547ffdb7
Fix bug #12811 with scrolling under scroll-up/down-aggressively.

 src/xdisp.c (try_scrolling): Fix correction of aggressive-scroll
 amount when the scroll margins are too large.  When scrolling
 backwards in the buffer, give up if cannot reach point or the
 scroll margin within a reasonable number of screen lines.  Fixes
 point position in window under scroll-up/down-aggressively when
 point is positioned many lines beyond the window top/bottom.
src/ChangeLog
src/xdisp.c