summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-11-28 20:58:34 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-11-28 20:58:34 -0700
commit143292aab558ea8907ed92f80b5453491be31664 (patch)
tree90a51520dbe6abeefa5f7f8a514d25c02b06e8d7
parentacd612630042c52599731e161b1aad0859dee45a (diff)
downloadorg-mode-143292aab558ea8907ed92f80b5453491be31664.tar.gz
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.
-rw-r--r--lisp/ob-clojure.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el
index e41bf15..0b55ff1 100644
--- a/lisp/ob-clojure.el
+++ b/lisp/ob-clojure.el
@@ -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)