(try_scrolling): New arg LAST_LINE_MISFIT.
commit03b0a4b4111b8139cbe932ba7d278c4cb2decefd
authorRichard M. Stallman <rms@gnu.org>
Mon, 6 Jan 2003 00:58:45 +0000 (6 00:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 6 Jan 2003 00:58:45 +0000 (6 00:58 +0000)
treeb13350b71130c25a9d4e3792e08da2941875bc54
parent5d55ffd05d2e689f6a2b249d94270c966bac7c72
(try_scrolling): New arg LAST_LINE_MISFIT.
Count LAST_LINE_MISFIT in scroll margin for end of window.
Move label too_near_end before setting SCROLL_MARGIN_POS.
Set LAST_LINE_MISFIT before jumping there.

(try_scrolling): Calculate amount_to_scroll better in
scroll_conservatively case.  If scrolling that much doesn't change
STARTP, move it down one line.

(setup_echo_area_for_printing): Kill Emacs if no selected frame.
src/xdisp.c