Elias Kueny <elias.ku...@posteo.net> writes: > There seems to be an issue with using ":comments link" when the source block > is at the root of the org file instead of under a heading. This happens using > emacs -Q. > > A file containing something like this: > #+begin_src elisp :tangle yes :comments link > (message "test") > #+end_src > > tangles to: > ;; [[file:test2.org::+begin_src elisp :tangle yes :comments link][No > heading:1]] > (message "test") > ;; No heading:1 ends here > > I don't think the "+begin_src" part is meant to be here. Then > org-babel-detangle looks for a "* +begin_src elisp :tangle yes :comments > link" heading and fails to detangle.
Thanks for reporting! Fixed on bugfix via c779b7aa0. Best, Ihor