summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Schmitt <alan.schmitt@polytechnique.org>2014-03-27 13:35:31 +0100
committerBastien Guerry <bzg@altern.org>2014-04-16 17:37:00 +0200
commitca2763280d6dc1d07d17046365d18dba952f2d48 (patch)
tree39c396c79fa3e12eb8884a8353e8907209c9ac10
parentf86b6d8aa3d59d09201489950774d44826eacbe4 (diff)
downloadorg-mode-ca2763280d6dc1d07d17046365d18dba952f2d48.tar.gz
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.
-rw-r--r--lisp/ob-dot.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ob-dot.el b/lisp/ob-dot.el
index b35d7bb..1e399e7 100644
--- a/lisp/ob-dot.el
+++ b/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))