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

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

[nongnu] elpa/scroll-on-jump 0c93159942: Cleanup: formatting


From: ELPA Syncer
Subject: [nongnu] elpa/scroll-on-jump 0c93159942: Cleanup: formatting
Date: Mon, 9 Jan 2023 04:01:08 -0500 (EST)

branch: elpa/scroll-on-jump
commit 0c93159942e454c587c59049c72bd4d9f75bd2c5
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: formatting
---
 scroll-on-jump.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/scroll-on-jump.el b/scroll-on-jump.el
index a1a2a4a782..12d03ed442 100644
--- a/scroll-on-jump.el
+++ b/scroll-on-jump.el
@@ -163,9 +163,8 @@ Moving the point when ALSO-MOVE-POINT is set."
         ;; For motion less than a window, scale down the time allowed.
         ;; This means moving a short distance wont be given the full time.
         (time-limit
-         (*
-          scroll-on-jump-duration
-          (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height 
window))))))
+         (* scroll-on-jump-duration
+            (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height 
window))))))
         (use-curve scroll-on-jump-use-curve))
 
     ;; Animated scrolling (early exit on input to avoid annoying lag).
@@ -235,9 +234,8 @@ Argument ALSO-MOVE-POINT moves the point while scrolling."
         ;; For motion less than a window, scale down the time allowed.
         ;; This means moving a short distance wont be given the full time.
         (time-limit
-         (*
-          scroll-on-jump-duration
-          (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height 
window))))))
+         (* scroll-on-jump-duration
+            (min 1.0 (/ (float (abs lines-scroll)) (float (window-body-height 
window))))))
         (use-curve scroll-on-jump-use-curve)
         (char-height (frame-char-height (window-frame window))))
 



reply via email to

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