babel: fixed bug in org-babel-execute:gnuplot related to body-expand changes

This commit is contained in:
Eric Schulte 2010-04-21 14:38:38 -06:00
parent d0dde7c6d5
commit 59251c8d08
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ called by `org-babel-execute-src-block'."
(message "executing Gnuplot source code block")
(let ((session (cdr (assoc :session params)))
(result-type (cdr (assoc :results params)))
(out-file (cdr (assoc :file params)))
(body (org-babel-expand-body:gnuplot body params)))
(save-window-excursion
;; evaluate the code body with gnuplot