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

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

[elpa] externals/ilist 66bc6e0101 19/24: ilist: fix a bug about moving b


From: ELPA Syncer
Subject: [elpa] externals/ilist 66bc6e0101 19/24: ilist: fix a bug about moving between items
Date: Tue, 28 Dec 2021 16:58:14 -0500 (EST)

branch: externals/ilist
commit 66bc6e01017a2b13d647fc068d1d98dadd1588ac
Author: JSDurand <mmemmew@gmail.com>
Commit: JSDurand <mmemmew@gmail.com>

    ilist: fix a bug about moving between items
    
    * ilist.el (ilist-forward-line): Skip the boundary one more time so
      that it won't accidentally stop on places where it should not.
---
 ilist.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ilist.el b/ilist.el
index 615a59ee07..232dc44d5e 100644
--- a/ilist.el
+++ b/ilist.el
@@ -1038,7 +1038,10 @@ skipped."
       (ilist-skip-properties skip-groups forwardp '(ilist-group-header)
                              no-skip-invisible)
       (setq arg (1- arg)))
-    ;; paranoia
+    ;; paranoia: but it proves to be needed sometimes
+    (ilist-skip-boundary rounded forwardp other-end no-skip-invisible)
+    (ilist-skip-properties skip-groups forwardp '(ilist-group-header)
+                           no-skip-invisible)
     (ilist-skip-boundary rounded forwardp other-end no-skip-invisible)
     (ilist-skip-properties skip-groups forwardp '(ilist-group-header)
                            no-skip-invisible)))



reply via email to

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