浏览代码

babel: R: Fix bug in treatment of :file argument

	* ob-R.el (org-babel-expand-body:R): Fix bug in let binding.

This was preventing graphical output from being captured.
Dan Davison 14 年之前
父节点
当前提交
d8634bab85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-R.el

+ 1 - 1
lisp/ob-R.el

@@ -53,7 +53,7 @@
 
 (defun org-babel-expand-body:R (body params)
   "Expand BODY according to PARAMS, return the expanded body."
-  (let (out-file (cdr (assoc :file params)))
+  (let ((out-file (cdr (assoc :file params))))
     (mapconcat
      #'identity
      ((lambda (inside)