From 91a532b40e429647d39068f598a7804d67ed16ca Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 31 Aug 2023 14:27:36 +0300 Subject: [PATCH] org-babel-expand-noweb-references: Document all the function arguments * lisp/ob-core.el (org-babel-expand-noweb-references): Fix the docstring, documenting every argument. --- lisp/ob-core.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index ae221c546..2f0ebb85c 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -2999,6 +2999,12 @@ See `org-babel-expand-noweb-references--cache'.") (defun org-babel-expand-noweb-references (&optional info parent-buffer) "Expand Noweb references in the body of the current source code block. +When optional argument INFO is non-nil, use the block defined by INFO +instead. + +The block is assumed to be located in PARENT-BUFFER or current buffer +\(when PARENT-BUFFER is nil). + For example the following reference would be replaced with the body of the source-code block named `example-block'.