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

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

[nongnu] elpa/scroll-on-jump 556e9a7a81 28/31: Fix error detecting scrol


From: ELPA Syncer
Subject: [nongnu] elpa/scroll-on-jump 556e9a7a81 28/31: Fix error detecting scroll changes
Date: Thu, 7 Jul 2022 12:03:15 -0400 (EDT)

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

    Fix error detecting scroll changes
    
    (scroll-on-jump-with-scroll-advice-add evil-scroll-line-to-center)
    for example wasn't working properly.
    Now this works as expected.
---
 scroll-on-jump.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scroll-on-jump.el b/scroll-on-jump.el
index 4067965bc3..3e5245c005 100644
--- a/scroll-on-jump.el
+++ b/scroll-on-jump.el
@@ -483,7 +483,7 @@ Argument USE-WINDOW-START detects window scrolling when 
non-nil."
         ;; So don't prioritize correct jumping in the case of errors and 
assume errors
         ;; are not something that happen after cursor motion.
         (scroll-on-jump--outer-scoped-mark point-orig point-prev
-          (scroll-on-jump--outer-scoped-mark (window-start window) 
window-start-prev
+          (scroll-on-jump--inner-scoped-mark (window-start window) 
window-start-prev
             (scroll-on-jump--inner-scoped-mark point-orig point-next
               ;; Run the main body of this macro.
               ;; It's important the result if returned (hence the `prog1' use).



reply via email to

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