[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6e865a7: Further reduce image-related stutter during precision sc
From: |
Po Lu |
Subject: |
master 6e865a7: Further reduce image-related stutter during precision scrolling |
Date: |
Fri, 10 Dec 2021 01:22:05 -0500 (EST) |
branch: master
commit 6e865a7171d80cd91b54c6d71b88d960b920abe3
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
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.
---
lisp/pixel-scroll.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el
index 5425462..336b555 100644
--- a/lisp/pixel-scroll.el
+++ b/lisp/pixel-scroll.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6e865a7: Further reduce image-related stutter during precision scrolling,
Po Lu <=