Does anyone remember the bug with org-babel-tangle for clojure blocks when it tangles the code prepending it with: (prn (binding [*out* (. Anyone knows the quick workaround?
Try :results output, also how your workaround working, for me it says: org-babel-execute-src-block: No org-babel-execute function for clj!?
https://clojurians.slack.com/archives/CLX41ASCS/p1721059174507279
Oh, I wasn't having problem with execution of clojure blocks, only with tangling. I manage all my dotfiles, including ~/.clojure files in a single .org file. Then I run org-babel-tangle it creates a bunch of files. Makes my system config kinda-sorta "immutable". And allows me to create files differently for Mac and Linux.
The mentioned thread discusses about, using :result output to avoid clojure blocks prepended with: (prn (binding [*out* (java.io.StringWriter.)]
Ha... interesting. it did work. Thanks! It's :results output though (plural)
Lazy workaround
(defalias 'clj-mode 'clojure-mode)
#+begin_src clj