[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 4d0f89672a: * lisp/ob-maxima.el: Document all the f
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 4d0f89672a: * lisp/ob-maxima.el: Document all the function arguments |
Date: |
Fri, 22 Sep 2023 09:58:44 -0400 (EDT) |
branch: externals/org
commit 4d0f89672ab1c3f70724538f19be4ec65f2cf123
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/ob-maxima.el: Document all the function arguments
(org-babel-maxima-expand):
(org-babel-execute:maxima):
(org-babel-maxima-var-to-maxima): Document all the arguments.
(org-babel-prep-session:maxima): Add docstring.
---
lisp/ob-maxima.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el
index d1d7c74244..76682b6cb0 100644
--- a/lisp/ob-maxima.el
+++ b/lisp/ob-maxima.el
@@ -49,7 +49,7 @@
:type 'string)
(defun org-babel-maxima-expand (body params)
- "Expand a block of Maxima code according to its header arguments."
+ "Expand Maxima BODY according to its header arguments from PARAMS."
(let ((vars (org-babel--get-vars params))
(epilogue (cdr (assq :epilogue params)))
(prologue (cdr (assq :prologue params))))
@@ -74,7 +74,7 @@
"\n")))
(defun org-babel-execute:maxima (body params)
- "Execute a block of Maxima entries with org-babel.
+ "Execute Maxima BODY according to PARAMS.
This function is called by `org-babel-execute-src-block'."
(message "Executing Maxima source code block")
(let ((result-params (split-string (or (cdr (assq :results params)) "")))
@@ -110,11 +110,11 @@ This function is called by `org-babel-execute-src-block'."
(defun org-babel-prep-session:maxima (_session _params)
+"Throw an error. Maxima does not support sessions."
(error "Maxima does not support sessions"))
(defun org-babel-maxima-var-to-maxima (pair)
- "Convert an elisp val into a string of maxima code specifying a var
-of the same value."
+ "Convert an elisp variable-value PAIR to maxima code."
(let ((var (car pair))
(val (cdr pair)))
(when (symbolp val)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 4d0f89672a: * lisp/ob-maxima.el: Document all the function arguments,
ELPA Syncer <=