]> git.eshelyaron.com Git - emacs.git/commit
Treat a partially visible line like "cursor off screen".
authorRichard M. Stallman <rms@gnu.org>
Sun, 7 Jul 2002 10:50:49 +0000 (10:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 7 Jul 2002 10:50:49 +0000 (10:50 +0000)
commitddf6b9a3b7e5ee7b97b45ceef47f73491dc178a3
treee6ae27689ff20b1114fd742be98a424ba153b7d3
parentf0bac7deee2f56ac02ff886dc5a1b7210e1fd089
Treat a partially visible line like "cursor off screen".
(make_cursor_line_fully_visible): Don't try short scrolls.
Instead just return 0 when there is something to be done.
(try_scrolling): If make_cursor_line_fully_visible returns 0,
retry scrolling as if cursor were off the bottom.
(try_cursor_movement): If make_cursor_line_fully_visible returns 0,
return CURSOR_MOVEMENT_MUST_SCROLL.
(redisplay_window): If make_cursor_line_fully_visible returns 0,
go to try_to_scroll.
src/xdisp.c