branch: elpa/scroll-on-jump
commit 6a9b9ecc0dcfabb9ca560393bfe5aa21c6063c16
Author: Campbell Barton <ideasma...@gmail.com>
Commit: Campbell Barton <ideasma...@gmail.com>

    Fix error from testing logic that moved the point while scrolling
---
 scroll-on-jump.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scroll-on-jump.el b/scroll-on-jump.el
index 3820dbc987..b697914d2c 100644
--- a/scroll-on-jump.el
+++ b/scroll-on-jump.el
@@ -346,7 +346,6 @@ Argument ALSO-MOVE-POINT moves the point while scrolling."
             ;; the caller moves the point to the final location.
             (when (< px-done-abs px-scroll-abs)
               ;; Force `redisplay', without this redrawing can be a little 
choppy.
-              (goto-char (1+ (point)))
               (redisplay t)
               ;; FIXME: for some reason a short sleep is needed to prevent 
choppy scrolling.
               (sit-for 0.01)))

Reply via email to