(try_scrolling): Use iterator to find the scroll margin,
authorChong Yidong <cyd@stupidchicken.com>
Wed, 6 Aug 2008 18:26:47 +0000 (18:26 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 6 Aug 2008 18:26:47 +0000 (18:26 +0000)
commit523a9735371f2045a9fb3ff290b3790386d40d22
tree69c902751429bef76e9a8615423b460ae773addd
parentb2c5015c6b60c79d754918dd03543f81d6e49b17
(try_scrolling): Use iterator to find the scroll margin,
instead of window-end which does the wrong thing at eob.
(try_cursor_movement): Minor optimization.
(redisplay_window): If scroll margin is defined, don't assume
window doesn't need scrolling.
src/xdisp.c