diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2013-05-17 08:57:20 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2013-05-17 08:57:20 -0600 |
commit | aae20884c104e8f298fb8753ac049e522ca854bb (patch) | |
tree | bfbf46ba63c9b0dd17cf6f1d25b9ad8e7a59e55b | |
parent | 6630b116e60ab3b3cefe9c10868d988f50ff3189 (diff) | |
download | org-mode-aae20884c104e8f298fb8753ac049e522ca854bb.tar.gz |
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.
-rw-r--r-- | lisp/ob-gnuplot.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el index c033ee4..80b0bef 100644 --- a/lisp/ob-gnuplot.el +++ b/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 "\"") "\"\"") "\""))))) |