Browse Source

Merge branch 'maint'

Bastien Guerry 7 years ago
parent
commit
1792643794
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-gnuplot.el

+ 1 - 1
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)))))