Explorar o código

ob-dot.el: Substitute variables literally

* lisp/ob-dot.el (org-babel-expand-body:dot): Do not change the case
nor interpret '\' when substituting block variables.
Alan Schmitt %!s(int64=11) %!d(string=hai) anos
pai
achega
ca2763280d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      lisp/ob-dot.el

+ 3 - 1
lisp/ob-dot.el

@@ -55,7 +55,9 @@
 	       (replace-regexp-in-string
 		(concat "\$" (regexp-quote name))
 		(if (stringp value) value (format "%S" value))
-		body))))
+		body
+		t
+		t))))
      vars)
     body))