瀏覽代碼

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

Eric Schulte 15 年之前
父節點
當前提交
df418de954
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"