Parcourir la source

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

Eric Schulte il y a 15 ans
Parent
commit
df418de954
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"