summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-03-25 09:18:25 +0100
committerBastien Guerry <bzg@altern.org>2014-03-25 09:18:25 +0100
commit6289868d284e9128ae91162d43359d7865827b57 (patch)
treecf4b7391bce77741c72bfef096a83cc62a53969b
parentad16ef42da082d2cb17fefc0d9adcba88ed8a808 (diff)
downloadorg-mode-6289868d284e9128ae91162d43359d7865827b57.tar.gz
Revert "org-plot: Handle explicit date/time index"
This reverts commit e2b6c506c28540943c9802a46500c940baa793be.
-rw-r--r--lisp/org-plot.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/org-plot.el b/lisp/org-plot.el
index b5000ea..556b9ef 100644
--- a/lisp/org-plot.el
+++ b/lisp/org-plot.el
@@ -109,8 +109,7 @@ will be added. Returns the resulting property list."
(defun org-plot-quote-tsv-field (s)
"Quote field S for export to gnuplot."
- (if (or (string-match org-table-number-regexp s)
- (plist-get params :timeind)) s
+ (if (string-match org-table-number-regexp s) s
(if (string-match org-ts-regexp3 s)
(org-plot-quote-timestamp-field s)
(concat "\"" (mapconcat 'identity (split-string s "\"") "\"\"") "\""))))
@@ -313,9 +312,7 @@ line directly before or after the table."
(when y-labels (plist-put params :ylabels y-labels)))))
;; check for timestamp ind column
(let ((ind (- (plist-get params :ind) 1)))
- (when (and (>= ind 0) (equal '2d (plist-get params :plot-type))
- (not (or (plist-get params :timeind)
- (plist-get params :textind))))
+ (when (and (>= ind 0) (equal '2d (plist-get params :plot-type)))
(if (= (length
(delq 0 (mapcar
(lambda (el)