From 69c830f361c9ca756685e732a81bd8093e9c9966 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 6 Oct 2023 20:04:30 +0300 Subject: [PATCH] * lisp/ob-processing.el: Document all the function arguments (org-babel-execute:processing): (org-babel-variable-assignments:processing): Fix the docstrings. --- lisp/ob-processing.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ob-processing.el b/lisp/ob-processing.el index 460e6e381..ff506e4d9 100644 --- a/lisp/ob-processing.el +++ b/lisp/ob-processing.el @@ -118,7 +118,7 @@ (message "Not inside a Processing source block.")))) (defun org-babel-execute:processing (body params) - "Execute a block of Processing code. + "Execute Processing code BODY according to PARAMS. This function is called by `org-babel-execute-src-block'." (let ((sketch-code (org-babel-expand-body:generic @@ -144,7 +144,8 @@ Processing does not support sessions." (error "Processing does not support sessions")) (defun org-babel-variable-assignments:processing (params) - "Return list of processing statements assigning the block's variables." + "Return list of processing statements assigning the block's variables. +The variable assignments are defined in PARAMS." (mapcar #'org-babel-processing-var-to-processing (org-babel--get-vars params)))