summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-02-28 17:53:24 -0700
committerEric Schulte <schulte.eric@gmail.com>2010-02-28 17:53:24 -0700
commitff00e36aacefa1afcca80ddec6a6c357513c59ab (patch)
tree0e4ac57a9901ccd41262652eae867d51f5e17ad2
parentdd7655edc088a5db974456bc9408dd3962c8ebfa (diff)
downloadorg-mode-ff00e36aacefa1afcca80ddec6a6c357513c59ab.tar.gz
plot: replacing sloppy fix with more reasonable way of guessing gnuplot options
This fixes an error introduced in the recent commit 09886e4f828ca01540c157c4b7f3ec47be21a5e5
-rw-r--r--lisp/org-plot.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-plot.el b/lisp/org-plot.el
index 6ffba99..e3b6631 100644
--- a/lisp/org-plot.el
+++ b/lisp/org-plot.el
@@ -251,8 +251,7 @@ manner suitable for prepending to a user-specified script."
(cons
(format plot-str data-file
(or (and ind (> ind 0)
- (not (or (equal 'histograms (plist-get params :with))
- (equal 'hist (plist-get params :with))))
+ (not text-ind)
(format "%d:" ind)) "")
(+ 1 col)
(if text-ind (format ":xticlabel(%d)" ind) "")