Browse Source

babel-clojure: slight change allowing strings to be passed in as variables

Eric Schulte 15 years ago
parent
commit
df418de954
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/babel/lisp/langs/org-babel-clojure.el

+ 1 - 1
contrib/babel/lisp/langs/org-babel-clojure.el

@@ -119,7 +119,7 @@ Emacs-lisp table, otherwise return the results as a string."
 specifying a var of the same value."
   (if (listp var)
       (format "'%s" var)
-    (format "%s" var)))
+    (format "%S" var)))
 
 (defun org-babel-clojure-build-full-form (body vars)
   "Construct a clojure let form with vars as the let vars"