From 46a52a57085a809c670d4107cec33e9dd0e957d1 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 19 Oct 2023 12:58:21 +0300 Subject: [PATCH] * lisp/ob-sqlite.el: Document all the function arguments (org-babel-execute:sqlite): (org-babel-sqlite-offset-colnames): --- lisp/ob-sqlite.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-sqlite.el b/lisp/ob-sqlite.el index 07a4326a2..3f933c74f 100644 --- a/lisp/ob-sqlite.el +++ b/lisp/ob-sqlite.el @@ -70,7 +70,7 @@ (defvar org-babel-sqlite3-command "sqlite3") (defun org-babel-execute:sqlite (body params) - "Execute a block of Sqlite code with Babel. + "Execute Sqlite BODY according to PARAMS. This function is called by `org-babel-execute-src-block'." (let ((result-params (split-string (or (cdr (assq :results params)) ""))) (db (cdr (assq :db params))) @@ -139,7 +139,7 @@ This function is called by `org-babel-execute-src-block'." result))) (defun org-babel-sqlite-offset-colnames (table headers-p) - "If HEADERS-P is non-nil then offset the first row as column names." + "If HEADERS-P is non-nil then offset the first row as column names in TABLE." (if headers-p (cons (car table) (cons 'hline (cdr table))) table))