ob-R.el: Bugfix: explicitely set variables to `nil'.

This commit is contained in:
Bastien Guerry 2010-09-05 17:41:23 +02:00
parent 798a78fe06
commit a581ee00a6
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ This function is called by `org-babel-execute-src-block'."
(if rownames-p "1" "NULL"))) (if rownames-p "1" "NULL")))
(format "%s <- %s" name (org-babel-R-quote-tsv-field value)))) (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) (defun org-babel-R-initiate-session (session params)
"If there is not a current R process then create one." "If there is not a current R process then create one."
(unless (string= session "none") (unless (string= session "none")
@ -172,7 +172,7 @@ This function is called by `org-babel-execute-src-block'."
(buffer-name)))) (buffer-name))))
(current-buffer)))))) (current-buffer))))))
(defvar ess-local-process-name) (defvar ess-local-process-name nil)
(defun org-babel-R-associate-session (session) (defun org-babel-R-associate-session (session)
"Associate R code buffer with an R session. "Associate R code buffer with an R session.
Make SESSION be the inferior ESS process associated with the Make SESSION be the inferior ESS process associated with the