org-babel-load-in-session: Document argument INFO

* lisp/ob-core.el (org-babel-load-in-session): Update the docstring,
describing what INFO argument does.
This commit is contained in:
Ihor Radchenko 2023-08-15 14:50:58 +03:00
parent 570cdacdbf
commit 5496f5277f
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 0 deletions

View File

@ -1068,6 +1068,9 @@ completion from lists of common args and values."
;;;###autoload
(defun org-babel-load-in-session (&optional _arg info)
"Load the body of the current source-code block.
When optional argument INFO is non-nil, use source block defined in
INFO, as returned by `org-babel-get-src-block-info'.
Evaluate the header arguments for the source block before
entering the session. After loading the body this pops open the
session."