diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-10-26 22:48:04 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-10-26 22:49:12 -0600 |
commit | fd9e9331eecd8436111362d328d0488ed2d590de (patch) | |
tree | 9ba25c9346b4c501ee989fd1d3186c6b66776edd | |
parent | c52ccaefa7a6a68ec04427afa615da273babf198 (diff) | |
download | org-mode-fd9e9331eecd8436111362d328d0488ed2d590de.tar.gz |
ob-gnuplot: fixed bug in data file assignment using user variables
Thanks to Nick Dokos and Nigel Beck for raising the issue.
* lisp/ob-gnuplot.el (org-babel-variable-assignments:gnuplot): fixed
bug in gnuplot data file assignment using user variables
-rw-r--r-- | lisp/ob-gnuplot.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el index d530f8b..766ae43 100644 --- a/lisp/ob-gnuplot.el +++ b/lisp/ob-gnuplot.el @@ -184,7 +184,7 @@ This function is called by `org-babel-execute-src-block'." "Return list of gnuplot statements assigning the block's variables" (mapcar (lambda (pair) (format "%s = \"%s\"" (car pair) (cdr pair))) - (mapcar #'cdr (org-babel-get-header params :var)))) + (org-babel-gnuplot-process-vars params))) (defvar gnuplot-buffer) (defun org-babel-gnuplot-initiate-session (&optional session params) |