branch: externals/ilist commit 66bc6e01017a2b13d647fc068d1d98dadd1588ac Author: JSDurand <mmem...@gmail.com> Commit: JSDurand <mmem...@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)))