Function: org-babel-switch-to-session

org-babel-switch-to-session is an autoloaded, interactive and byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-switch-to-session &optional ARG INFO)

Documentation

Switch to the session of the current code block or block defined by INFO.

Uses org-babel-initiate-session to start the session. If called with a prefix argument ARG, then this is passed on to org-babel-initiate-session.

Key Bindings

Aliases

org-babel-pop-to-session

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
;;;###autoload
(defun org-babel-switch-to-session (&optional arg info)
  "Switch to the session of the current code block or block defined by INFO.
Uses `org-babel-initiate-session' to start the session.  If called
with a prefix argument ARG, then this is passed on to
`org-babel-initiate-session'."
  (interactive "P")
  (pop-to-buffer (org-babel-initiate-session arg info))
  (end-of-line 1))