Преглед на файлове

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 години
родител
ревизия
fd9e9331ee
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)