emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scroll-on-jump 6a9b9ecc0d: Fix error from testing logic th


From: ELPA Syncer
Subject: [nongnu] elpa/scroll-on-jump 6a9b9ecc0d: Fix error from testing logic that moved the point while scrolling
Date: Sun, 29 Jan 2023 01:59:44 -0500 (EST)

branch: elpa/scroll-on-jump
commit 6a9b9ecc0dcfabb9ca560393bfe5aa21c6063c16
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@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

[Prev in Thread] Current Thread [Next in Thread]