(try_scrolling): Set scroll_max to max of scroll_* args
commit0894e696763f4faef3023e7445480b35a2a11860
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Nov 2000 18:38:07 +0000 (14 18:38 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Nov 2000 18:38:07 +0000 (14 18:38 +0000)
tree8e32beb199c0f75474218e846b83528af0b775e4
parent9e445e292ee905691c5a21602b3c059ecb205dd2
(try_scrolling): Set scroll_max to max of scroll_* args
so setting scroll-step to 1 doesn't defeat scroll-conservatively.
Set amount_to_scroll to max of dx and scroll_step so that
scroll-conservatively doesn't defeat scroll-step>1.
(syms_of_xdisp): Add a hint in scroll-step's docstring to use
scroll-conservatively for line-at-a-time scrolling.
src/xdisp.c