Fix cursor positioning near scroll margin at top of window.
authorEli Zaretskii <eliz@gnu.org>
Tue, 12 Feb 2013 16:43:09 +0000 (18:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 12 Feb 2013 16:43:09 +0000 (18:43 +0200)
commitb8cc94f40177fcd1232aedea0771e83f95cf0458
tree4311706b1807de89996c9fff241161846c88e678
parentbc8426e875bfc5c61626386b2e21e5bef531b445
Fix cursor positioning near scroll margin at top of window.

 src/xdisp.c (try_scrolling): Scroll text up more if point is too close
 to ZV and inside the scroll margin.  This makes sure point is moved
 outside the scroll margin in these cases.
src/ChangeLog
src/xdisp.c