mahmood sheikh <mahmod.m2...@gmail.com> writes: > with the given minimal example: > ``` > #+begin_parent > #+begin_child > #+end_child > #+end_parent > ``` > the code > ```lisp > (org-block-map (lambda () (message "elem: %s" (org-element-at-point)))) > ``` > goes through only the parent element and doesnt run the lambda on the > child block > the docstring of org-block-map says it iterates through src blocks but > it also goes through special blocks, albeit not nested ones, i > might've confused it for org-element-map as im not sure about the > later functions behavior.
This is a bug in `org-block-map'. -- 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>