summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-09-05 17:41:23 +0200
committerBastien Guerry <bzg@altern.org>2010-09-05 17:41:23 +0200
commita581ee00a61eb5c7e7f42bc2299eb284c035223c (patch)
tree583354f43d95dd8ec1a445f96766fb69baac553a
parent798a78fe06daf75bdbc2031a8f49edadd30612e1 (diff)
downloadorg-mode-a581ee00a61eb5c7e7f42bc2299eb284c035223c.tar.gz
ob-R.el: Bugfix: explicitely set variables to `nil'.
-rw-r--r--lisp/ob-R.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-R.el b/lisp/ob-R.el
index 76e83e8..64bbba4 100644
--- a/lisp/ob-R.el
+++ b/lisp/ob-R.el
@@ -153,7 +153,7 @@ This function is called by `org-babel-execute-src-block'."
(if rownames-p "1" "NULL")))
(format "%s <- %s" name (org-babel-R-quote-tsv-field value))))
-(defvar ess-ask-for-ess-directory)
+(defvar ess-ask-for-ess-directory nil)
(defun org-babel-R-initiate-session (session params)
"If there is not a current R process then create one."
(unless (string= session "none")
@@ -172,7 +172,7 @@ This function is called by `org-babel-execute-src-block'."
(buffer-name))))
(current-buffer))))))
-(defvar ess-local-process-name)
+(defvar ess-local-process-name nil)
(defun org-babel-R-associate-session (session)
"Associate R code buffer with an R session.
Make SESSION be the inferior ESS process associated with the