Function: org-babel-julia-associate-session
org-babel-julia-associate-session is a byte-compiled function defined
in ob-julia.el.gz.
Signature
(org-babel-julia-associate-session SESSION)
Documentation
Associate R code buffer with an R session.
Make SESSION be the inferior ESS process associated with the current code buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-julia.el.gz
(defvar ess-gen-proc-buffer-name-function) ; defined in ess-inf.el
(defun org-babel-julia-associate-session (session)
"Associate R code buffer with an R session.
Make SESSION be the inferior ESS process associated with the
current code buffer."
(when-let ((process (get-buffer-process session)))
(setq ess-local-process-name (process-name process))
(ess-make-buffer-current))
(setq-local ess-gen-proc-buffer-name-function (lambda (_) session)))