Alex Giorev <alex.gio...@gmail.com> writes: > When `org-loop-over-headlines-in-active-region' is 'start-level, the > command should loop only over the headings having the same level as the > first one, but it loops over all headings in the region. This patch fixes > the issue.
Thanks for reporting and providing the patch! I have applied an equivalent patch that uses the code style more similar to other places in Org where `org-loop-over-headlines-in-active-region' is handled. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=78806952218e87f4a413a29c908161f97572f97d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>