소스 검색

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)