Explorar el Código

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

  This fixes an error introduced in the recent commit
  09886e4f828ca01540c157c4b7f3ec47be21a5e5
Eric Schulte hace 15 años
padre
commit
ff00e36aac
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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) "")