summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2013-09-25 12:21:52 -0600
committerEric Schulte <schulte.eric@gmail.com>2013-09-25 12:21:52 -0600
commit67b80455cf37d860beb9acf381a2c5a53fcf5b0c (patch)
treec015db908fc42f14d903d321b9daccc173a1c5a5
parent7cf4406088d4d7f50c35c6ba7ca3c351db2086bc (diff)
downloadorg-mode-67b80455cf37d860beb9acf381a2c5a53fcf5b0c.tar.gz
don't add "set datafile missing..." with :missing
* lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot): Don't add "set datafile missing..." with :missing, instead this header argument now only changes the value of the *org-babel-gnuplot-missing* variable.
-rw-r--r--lisp/ob-gnuplot.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index cc9186b..2b699c7 100644
--- a/lisp/ob-gnuplot.el
+++ b/lisp/ob-gnuplot.el
@@ -113,14 +113,11 @@ code."
(timefmt (cdr (assoc :timefmt params)))
(time-ind (or (cdr (assoc :timeind params))
(when timefmt 1)))
- (missing (cdr (assoc :missing params)))
(add-to-body (lambda (text) (setq body (concat text "\n" body))))
output)
;; append header argument settings to body
(when title (funcall add-to-body (format "set title '%s'" title)))
(when lines (mapc (lambda (el) (funcall add-to-body el)) lines))
- (when missing
- (funcall add-to-body (format "set datafile missing '%s'" missing)))
(when sets
(mapc (lambda (el) (funcall add-to-body (format "set %s" el))) sets))
(when x-labels