Procházet zdrojové kódy

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

Eric Schulte před 15 roky
rodič
revize
df418de954
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"