Hi Lee,

Lee Hinman <l...@writequit.org> writes:

> When tangling a block like:
>
> #+BEGIN_SRC clojure :tangle foo.clj
> (println "foo")
> ;; My comment
> #+END_SRC
>
> The tangled code looks like:
>
> (let [org-mode-print-catcher (java.io.StringWriter.)]
> (clojure.pprint/with-pprint-dispatch clojure.pprint/code-dispatch
> (clojure.pprint/pprint (do (println "foo")
> ;; My comment) org-mode-print-catcher) (str org-mode-print-catcher)))
>
> Which is invalid because of the commented line (commenting out more than
> intended). There needs to be an extra newline after the tangled
> content/comment.

Can you try with latest ob-clojure.el from the master branch?
We fixed a few things recently, and the example works fine for
me.

Thanks!

-- 
 Bastien

Reply via email to