Browse Source

ob-R: declare ess-current-process-name

* lisp/ob-R.el: Forward declare `ess-current-process-name'.
Achim Gratz 5 years ago
parent
commit
37e1a11b9e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/ob-R.el

+ 2 - 1
lisp/ob-R.el

@@ -89,7 +89,8 @@ this variable.")
   :version "24.1"
   :type 'string)
 
-(defvar ess-local-process-name) ; dynamically scoped
+(defvar ess-current-process-name) ; dynamically scoped
+(defvar ess-local-process-name)   ; dynamically scoped
 (defun org-babel-edit-prep:R (info)
   (let ((session (cdr (assoc :session (nth 2 info)))))
     (when (and session (string-match "^\\*\\(.+?\\)\\*$" session))