* xdisp.c (try_scrolling): Use iterator to find the scroll margin,
authorChong Yidong <cyd@stupidchicken.com>
Wed, 6 Aug 2008 18:26:02 +0000 (18:26 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 6 Aug 2008 18:26:02 +0000 (18:26 +0000)
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/ChangeLog

index 4fbf8ce..9dd960b 100644 (file)
@@ -1,3 +1,11 @@
+2008-08-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (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.
+
 2008-08-06  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
        * config.in: Regenerate.