branch: externals/org
commit 5496f5277fa639271cc674340b95116c77d556e2
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
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.
---
lisp/ob-core.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 3786845eb9..0270624013 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -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."