From ff00e36aacefa1afcca80ddec6a6c357513c59ab Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 28 Feb 2010 17:53:24 -0700 Subject: [PATCH] plot: replacing sloppy fix with more reasonable way of guessing gnuplot options This fixes an error introduced in the recent commit 09886e4f828ca01540c157c4b7f3ec47be21a5e5 --- lisp/org-plot.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-plot.el b/lisp/org-plot.el index 6ffba99a3..e3b6631d8 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) "")