From 143292aab558ea8907ed92f80b5453491be31664 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 28 Nov 2010 20:58:34 -0700 Subject: [PATCH] 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. --- lisp/ob-clojure.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el index e41bf15ee..0b55ff15d 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)