From d8634bab85c920db2cc414bf535fdf298b73a591 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Thu, 21 Oct 2010 23:29:43 +0100 Subject: [PATCH] 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. --- lisp/ob-R.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-R.el b/lisp/ob-R.el index a2b992530..339be23e4 100644 --- a/lisp/ob-R.el +++ b/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)