ob-clojure: fully qualified pprint -- thanks to Rick Moynihan

* lisp/ob-clojure.el: Updated requirements documentation to mention
  the minimum version of Clojure.
  (org-babel-expand-body:clojure): Fully qualified function name.
This commit is contained in:
Eric Schulte 2010-11-28 20:58:34 -07:00
parent acd6126300
commit 143292aab5
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
;;; Requirements:
;;; A working clojure install. This also implies a working java executable
;;; - clojure (at least 1.2.0)
;;; - clojure-mode
;;; - slime
;;; - swank-clojure
@ -63,7 +63,7 @@
(if (or (member "code" result-params)
(member "pp" result-params))
(format (concat "(let [org-mode-print-catcher (java.io.StringWriter.)]"
"(with-pprint-dispatch %s-dispatch"
"(clojure.pprint/with-pprint-dispatch %s-dispatch"
"(clojure.pprint/pprint %s org-mode-print-catcher)"
"(str org-mode-print-catcher)))")
(if (member "code" result-params) "code" "simple") body)