Anoop GR <[email protected]> writes:
> Comments in org babel clojure blocks are not tangled out.
> ...
This seems to be intentional (commit b1f564b4b6):
In ob-clojure.el, we have:
;; Remove comments, they break (let [...] ...) bindings
(body (replace-regexp-in-string "^[ ]*;+.*$" "" body))
It seems that there is some weirdness in Clojure interaction with
comments inside let [...] clauses.
I am not familiar enough with closure to comment on this. Maybe you know
more?
CCing Bastien, the author of the commit.
I guess that we may leave the comments intact if the code block does not
have :var.
--
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>