summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-10-21 23:29:43 +0100
committerDan Davison <davison@stats.ox.ac.uk>2010-10-21 23:29:43 +0100
commitd8634bab85c920db2cc414bf535fdf298b73a591 (patch)
tree2b7c318eaab20ffa5ba0547b46d153c7692ac70d
parentb0fae37687b0328468eec57cda186eb92081df59 (diff)
downloadorg-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.el2
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)