diff options
author | Dan Davison <davison@stats.ox.ac.uk> | 2010-10-21 23:29:43 +0100 |
---|---|---|
committer | Dan Davison <davison@stats.ox.ac.uk> | 2010-10-21 23:29:43 +0100 |
commit | d8634bab85c920db2cc414bf535fdf298b73a591 (patch) | |
tree | 2b7c318eaab20ffa5ba0547b46d153c7692ac70d | |
parent | b0fae37687b0328468eec57cda186eb92081df59 (diff) | |
download | org-mode-d8634bab85c920db2cc414bf535fdf298b73a591.tar.gz |
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.
-rw-r--r-- | lisp/ob-R.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-R.el b/lisp/ob-R.el index a2b9925..339be23 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) |