diff options
author | Bastien Guerry <bzg@altern.org> | 2012-08-14 23:57:24 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-08-14 23:57:24 +0200 |
commit | b57a91f8dd41bff16f91d69b276880c3a1db5dd9 (patch) | |
tree | 54ad6e7fb1269f48382144214f6683d436c2a43f | |
parent | 922772e01217cabeaa5b206cd476492b66aa28f3 (diff) | |
download | org-mode-b57a91f8dd41bff16f91d69b276880c3a1db5dd9.tar.gz |
ob-R.el (org-babel-edit-prep:R): Don't set the session
* ob-R.el (org-babel-edit-prep:R): Don't set the session.
See the discussion for this issue here:
http://article.gmane.org/gmane.emacs.orgmode/58600
Thanks to Mikhail Titov and to Andrew Young for exploring it.
-rw-r--r-- | lisp/ob-R.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ob-R.el b/lisp/ob-R.el index 861f36a..361428d 100644 --- a/lisp/ob-R.el +++ b/lisp/ob-R.el @@ -80,8 +80,7 @@ (defun org-babel-edit-prep:R (info) (let ((session (cdr (assoc :session (nth 2 info))))) (when (and session (string-match "^\\*\\(.+?\\)\\*$" session)) - (save-match-data (org-babel-R-initiate-session session nil)) - (setq ess-local-process-name (match-string 1 session))))) + (save-match-data (org-babel-R-initiate-session session nil))))) (defun org-babel-expand-body:R (body params &optional graphics-file) "Expand BODY according to PARAMS, return the expanded body." |