]> git.eshelyaron.com Git - emacs.git/commit
Make `pixel-scroll-precision-scroll-up' use existing logic
authorPo Lu <luangruo@yahoo.com>
Sat, 27 Nov 2021 05:02:10 +0000 (13:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 27 Nov 2021 05:03:54 +0000 (13:03 +0800)
commitd329014574575b3f98ac68e22bdcb1ab4ddd5419
treea198c06b63671636561c3917745fa7e12ee62c17
parentb0ef00f370a10398c0271b24582e10bf12a90566
Make `pixel-scroll-precision-scroll-up' use existing logic

* lisp/pixel-scroll.el (pixel-point-at-unseen-line): Rewrite
to use `pixel-point-and-height-at-unseen-line'.
(pixel-point-and-height-at-unseen-line): New function.
(pixel-scroll-precision-scroll-up): Use existing logic
to determine unseen line position.
lisp/pixel-scroll.el