]> git.eshelyaron.com Git - emacs.git/commit
Improve precision pixel scrolling
authorPo Lu <luangruo@yahoo.com>
Sat, 12 Aug 2023 02:21:34 +0000 (10:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 12 Aug 2023 02:21:34 +0000 (10:21 +0800)
commit1da4fca0647ebf1d5d6f12817301a17661560810
tree3e63719facb63c2414148be40121884261570c4e
parent324a109aa3add67772fdcd9fd27d4941bf5cc541
Improve precision pixel scrolling

* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down-page)
(pixel-scroll-precision-scroll-up-page): Use
pos-visible-in-window-p to opt between the next line or to the
window start rather than computing the next position by hand.
(pixel-scroll-precision-mode): Disable
make-cursor-line-fully-visible.  (bug#65214)
* src/image.c (jpeg_load_body): Fix crash if libjpeg detects an
error before ximg is initialized.
* src/xdisp.c (display_and_set_cursor): Don't display cursor in
vscrolled-away row.
lisp/pixel-scroll.el
src/image.c
src/xdisp.c