Преглед на файлове

plot: replacing sloppy fix with more reasonable way of guessing gnuplot options

  This fixes an error introduced in the recent commit
  09886e4f828ca01540c157c4b7f3ec47be21a5e5
Eric Schulte преди 15 години
родител
ревизия
ff00e36aac
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      lisp/org-plot.el

+ 1 - 2
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) "")