Browse Source

ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo

* ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo.

TINYCHANGE
U-usuario-PC\\usuario 11 years ago
parent
commit
65cf7047bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-gnuplot.el

+ 1 - 1
lisp/ob-gnuplot.el

@@ -253,7 +253,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)))))