branch: externals/org-modern commit 6ec22d3d74e8c6f94590c116c1111dd8af616721 Author: JD Smith <93749+jdtsm...@users.noreply.github.com> Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>
walk-blocks: avoid visiting first block twice --- org-modern-indent.el | 1 + 1 file changed, 1 insertion(+) diff --git a/org-modern-indent.el b/org-modern-indent.el index ccc8e62d0e..a1a6f7b11d 100644 --- a/org-modern-indent.el +++ b/org-modern-indent.el @@ -141,6 +141,7 @@ partially overlaps the region." (when node (cl-destructuring-bind (bbeg . bend) (omi/-block-beg-end node) (funcall fun bbeg bend) + (goto-char bend) (when (>= bend end) (setq finished t)))) ; last block (unless finished (if (re-search-forward omi/begin-re end t)