mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Further reduce image-related stutter during precision scrolling
* lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down-page): Disable `scroll-preserve-screen-position' and `auto-window-vscroll' while scrolling.
This commit is contained in:
parent
636704fab9
commit
6e865a7171
1 changed files with 3 additions and 1 deletions
|
|
@ -453,7 +453,9 @@ the height of the current window."
|
|||
(goto-char desired-start)
|
||||
(when (zerop (vertical-motion (1+ scroll-margin)))
|
||||
(signal 'end-of-buffer nil))
|
||||
(point))))
|
||||
(point)))
|
||||
(scroll-preserve-screen-position nil)
|
||||
(auto-window-vscroll nil))
|
||||
(when (and (or (< (point) next-pos))
|
||||
(let ((pos-visibility (pos-visible-in-window-p next-pos nil t)))
|
||||
(and pos-visibility
|
||||
|
|
|
|||
Loading…
Reference in a new issue