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

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

[nongnu] elpa/scroll-on-drag 6db1380826 25/35: Cleanup: formatting


From: ELPA Syncer
Subject: [nongnu] elpa/scroll-on-drag 6db1380826 25/35: Cleanup: formatting
Date: Thu, 7 Jul 2022 12:02:52 -0400 (EDT)

branch: elpa/scroll-on-drag
commit 6db1380826b2abbb0b89a96512673cd5a27416bf
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: formatting
---
 scroll-on-drag.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scroll-on-drag.el b/scroll-on-drag.el
index 1b89e53895..cd78fc5fcd 100644
--- a/scroll-on-drag.el
+++ b/scroll-on-drag.el
@@ -332,7 +332,9 @@ Returns true when scrolling took place, otherwise nil."
           (setq y-init (funcall mouse-y-fn))))
 
       (scroll-restore-fn
-        (lambda () (goto-char restore-point) (set-window-start this-window 
restore-window-start t)))
+        (lambda ()
+          (goto-char restore-point)
+          (set-window-start this-window restore-window-start t)))
 
       ;; Workaround for bad pixel scrolling performance
       ;; when the cursor is partially outside the view.



reply via email to

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