[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org fd1418dadd 4/5: * lisp/ob-gnuplot.el: Document all
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org fd1418dadd 4/5: * lisp/ob-gnuplot.el: Document all the function arguments |
Date: |
Fri, 15 Sep 2023 06:58:33 -0400 (EDT) |
branch: externals/org
commit fd1418dadd85a9884deea9a79f675de9d7d45937
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/ob-gnuplot.el: Document all the function arguments
(org-babel-execute:gnuplot):
(org-babel-variable-assignments:gnuplot):
---
lisp/ob-gnuplot.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index 91e4bed89a..642ad6fa7c 100644
--- a/lisp/ob-gnuplot.el
+++ b/lisp/ob-gnuplot.el
@@ -197,7 +197,7 @@ code."
body))
(defun org-babel-execute:gnuplot (body params)
- "Execute a block of Gnuplot code.
+ "Execute Gnuplot BODY according to PARAMS.
This function is called by `org-babel-execute-src-block'."
(org-require-package 'gnuplot)
(let ((session (cdr (assq :session params)))
@@ -252,7 +252,8 @@ This function is called by `org-babel-execute-src-block'."
buffer)))
(defun org-babel-variable-assignments:gnuplot (params)
- "Return list of gnuplot statements assigning the block's variables."
+ "Return list of gnuplot statements assigning the block's variables.
+PARAMS is src block parameters alist defining variable assignments."
(mapcar
(lambda (pair) (format "%s = \"%s\"" (car pair) (cdr pair)))
(org-babel-gnuplot-process-vars params)))