mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-28 07:44:49 +00:00
lisp/ob-awk.el: Fix docstrings
* lisp/ob-awk.el (org-babel-execute:awk): * lisp/ob-awk.el (org-babel-awk-var-to-awk): Detail all the argument in the docstring.
This commit is contained in:
parent
f409cb4e52
commit
f03b839530
@ -53,7 +53,8 @@
|
||||
body)
|
||||
|
||||
(defun org-babel-execute:awk (body params)
|
||||
"Execute a block of Awk code with org-babel.
|
||||
"Execute a block of Awk code BODY with org-babel.
|
||||
PARAMS is a plist of src block parameters .
|
||||
This function is called by `org-babel-execute-src-block'."
|
||||
(message "Executing Awk source code block")
|
||||
(let* ((result-params (cdr (assq :result-params params)))
|
||||
@ -100,7 +101,9 @@ This function is called by `org-babel-execute-src-block'."
|
||||
(cdr (assq :rowname-names params)) (cdr (assq :rownames params))))))
|
||||
|
||||
(defun org-babel-awk-var-to-awk (var &optional sep)
|
||||
"Return a printed value of VAR suitable for parsing with awk."
|
||||
"Return a printed value of VAR suitable for parsing with awk.
|
||||
SEP, when non-nil is a separator used when converting list values to awk
|
||||
table."
|
||||
(let ((echo-var (lambda (v) (if (stringp v) v (format "%S" v)))))
|
||||
(cond
|
||||
((and (listp var) (listp (car var)))
|
||||
|
Loading…
Reference in New Issue
Block a user