summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-01-05 14:15:00 +0100
committerBastien Guerry <bzg@altern.org>2014-01-05 14:15:00 +0100
commit1792643794ba9046bae267f06dc37c274b590376 (patch)
treebfe70f07389b300d18d4f1e1716bdbda59797fd8
parent361b18ea82ec1175a99e5e5c540602233bd374e0 (diff)
parent65cf7047bf885959a5e03b5aa9346b55a600fcab (diff)
downloadorg-mode-1792643794ba9046bae267f06dc37c274b590376.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ob-gnuplot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index 2b699c7..9dfa212 100644
--- a/lisp/ob-gnuplot.el
+++ b/lisp/ob-gnuplot.el
@@ -250,7 +250,7 @@ then create one. Return the initialized session. The current
(org-babel-gnuplot-quote-timestamp-field s)
(if (zerop (length s))
(or *org-babel-gnuplot-missing* s)
- (if (string-match "[ \"]" "?")
+ (if (string-match "[ \"]" s)
(concat "\"" (mapconcat 'identity (split-string s "\"") "\"\"")
"\"")
s)))))