From d5ee33fed8dd80d3f9f9811d86a73827fde80780 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 24 Aug 2023 13:27:17 +0300 Subject: [PATCH] lisp/ob-core: List all the arguments in some docstrings * lisp/ob-core.el (org-babel-parse-multiple-vars): (org-babel-goto-named-src-block): (org-babel-goto-named-result): Describe all the function arguments in the docstring. --- lisp/ob-core.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index bbc1b61e3..5d4f9f3ae 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1736,7 +1736,9 @@ in parameters. Return an alist." This allows expression of multiple variables with one :var as shown below. -#+PROPERTY: var foo=1, bar=2" +#+PROPERTY: var foo=1, bar=2 + +HEADER-ARGUMENTS is alist of all the arguments." (let (results) (mapc (lambda (pair) (if (eq (car pair) :var) @@ -1920,7 +1922,7 @@ src block, then return nil." ;;;###autoload (defun org-babel-goto-named-src-block (name) - "Go to a named source-code block." + "Go to a source-code block with NAME." (interactive (let ((completion-ignore-case t) (case-fold-search t) @@ -1980,7 +1982,7 @@ to `org-babel-named-src-block-regexp'." ;;;###autoload (defun org-babel-goto-named-result (name) - "Go to a named result." + "Go to a result with NAME." (interactive (let ((completion-ignore-case t)) (list (completing-read "Source-block name: "