Browse Source

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
Eric Schulte 14 years ago
parent
commit
fd9e9331ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-gnuplot.el

+ 1 - 1
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)