emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 224d455d60: * lisp/ob-ocaml.el: Document all the fu


From: ELPA Syncer
Subject: [elpa] externals/org 224d455d60: * lisp/ob-ocaml.el: Document all the function arguments
Date: Sat, 23 Sep 2023 09:58:56 -0400 (EDT)

branch: externals/org
commit 224d455d60b21bd5aceccdc6ab2932b99a2f1cfe
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    * lisp/ob-ocaml.el: Document all the function arguments
    
    (org-babel-execute:ocaml):
    (org-babel-variable-assignments:ocaml): Fix docstrings.
---
 lisp/ob-ocaml.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/ob-ocaml.el b/lisp/ob-ocaml.el
index 4ab58e1504..bece59baa1 100644
--- a/lisp/ob-ocaml.el
+++ b/lisp/ob-ocaml.el
@@ -63,7 +63,7 @@
   :type 'string)
 
 (defun org-babel-execute:ocaml (body params)
-  "Execute a block of Ocaml code with Babel."
+  "Execute Ocaml BODY according to PARAMS."
   (let* ((full-body (org-babel-expand-body:generic
                     body params
                     (org-babel-variable-assignments:ocaml params)))
@@ -121,7 +121,8 @@
     (get-buffer tuareg-interactive-buffer-name)))
 
 (defun org-babel-variable-assignments:ocaml (params)
-  "Return list of ocaml statements assigning the block's variables."
+  "Return list of ocaml statements assigning the block's variables.
+The variables are defined in PARAMS."
   (mapcar
    (lambda (pair) (format "let %s = %s;;" (car pair)
                          (org-babel-ocaml-elisp-to-ocaml (cdr pair))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]