On 2/6/14, 9:32 AM, Bastien wrote:
> 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.
I tried it running from git (org-version returns "Org-mode version
8.2.3a (release_8.2.3a @ /Users/hinmanm/src/elisp/org-mode/lisp/)")
I'm still getting it tangled as
(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)))
I did some bisecting on my dotfiles and determined it was caused by this
line:
(setq org-babel-default-header-args
(cons '(:results . "code")
(assq-delete-all :results org-babel-default-header-args)))
Which seems very strange to me, once I comment out that line the text is
tangled as just
(println "foo")
;; My comment