فهرست منبع

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) "")