org-babel-expand-body:generic: Document all the arguments in the docstring

* lisp/ob-core.el (org-babel-expand-body:generic): Document VAR-LINES
in the docstring.
This commit is contained in:
Ihor Radchenko 2023-08-11 14:22:28 +03:00
parent 1c7444dc3a
commit cfea24dc15
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 4 additions and 1 deletions

View File

@ -921,7 +921,10 @@ guess will be made."
Expand a block of code with org-babel according to its header Expand a block of code with org-babel according to its header
arguments. This generic implementation of body expansion is arguments. This generic implementation of body expansion is
called for languages which have not defined their own specific called for languages which have not defined their own specific
org-babel-expand-body:lang function." org-babel-expand-body:lang function.
VAR-LINES is a list of lines that define variable environment. These
lines will be added after `:prologue' parameter and before BODY."
(let ((pro (cdr (assq :prologue params))) (let ((pro (cdr (assq :prologue params)))
(epi (cdr (assq :epilogue params)))) (epi (cdr (assq :epilogue params))))
(mapconcat #'identity (mapconcat #'identity