浏览代码

Merge branch 'maint'

Bastien Guerry 11 年之前
父节点
当前提交
1792643794
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)))))