浏览代码

fixed list nesting error in ob-R.el

Eric Schulte 14 年之前
父节点
当前提交
0a109680ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-R.el

+ 1 - 1
lisp/ob-R.el

@@ -66,7 +66,7 @@
      ((lambda (inside)
 	(if out-file
 	    (append
-	     (org-babel-R-construct-graphics-device-call out-file params)
+	     (list (org-babel-R-construct-graphics-device-call out-file params))
 	     inside
 	     (list "dev.off()"))
 	  inside))