Improve scrolling when line-spacing != 0 and scroll-step = 1.
commit35cb8a3e0f6712a23d1fb16a0c90aceff45ed0e4
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Jul 2013 16:18:17 +0000 (10 19:18 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 10 Jul 2013 16:18:17 +0000 (10 19:18 +0300)
tree5ff99b36ababdab55c853d04f563005ee7727346
parent45b683a16c289f67079f60ca1a7bc51d75e8d0c1
Improve scrolling when line-spacing != 0 and scroll-step = 1.

 lisp/simple.el (default-line-height): New function.
 (line-move-partial, line-move): Use it instead of computing the
 line height inline.
 (line-move-partial): Always compute ROWH.  If the last line is
 partially-visible, but its text is completely visible, allow
 cursor to enter such a partially-visible line.
lisp/ChangeLog
lisp/simple.el