ソースを参照

replace missing values with blank space in gnuplot

* lisp/ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Replace
  missing values with blank space in gnuplot.
Eric Schulte 12 年 前
コミット
aae20884c1
1 ファイル変更2 行追加2 行削除
  1. 2 2
      lisp/ob-gnuplot.el

+ 2 - 2
lisp/ob-gnuplot.el

@@ -232,8 +232,8 @@ then create one.  Return the initialized session.  The current
   (if (string-match org-table-number-regexp s) s
     (if (string-match org-ts-regexp3 s)
 	(org-babel-gnuplot-quote-timestamp-field s)
-      (if (and *org-babel-gnuplot-missing* (zerop (length s)))
-	  *org-babel-gnuplot-missing*
+      (if (zerop (length s))
+	  (or *org-babel-gnuplot-missing* s)
 	(concat "\"" (mapconcat 'identity (split-string s "\"") "\"\"")
 		"\"")))))