Ihor Radchenko <yanta...@posteo.net> writes: >> --- >> #+begin_src emacs-lisp >> <point> >> #+end_src >> --- > ... > I cannot reproduce.
"---" turned out to be important. This is not a bug. After (insert (org-element-interpret-data copy)) The point ends up at --- line, which is not recognized as a source block. So, (org-indent-block) signals an error. This error is intended. I updated the docstring to make it clear that error is thrown when not at block. Handled, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1aa4552e5 -- 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>