[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 2030c111eb: * lisp/ob-emacs-lisp.el: Document all t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 2030c111eb: * lisp/ob-emacs-lisp.el: Document all the function arguments |
Date: |
Sat, 9 Sep 2023 06:58:21 -0400 (EDT) |
branch: externals/org
commit 2030c111eb659ece1f6fa6770658707762b83b95
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/ob-emacs-lisp.el: Document all the function arguments
(org-babel-execute:emacs-lisp):
(org-babel-edit-prep:emacs-lisp): Document all the function arguments
in the docstrings.
---
lisp/ob-emacs-lisp.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/ob-emacs-lisp.el b/lisp/ob-emacs-lisp.el
index f2111d6493..0883009605 100644
--- a/lisp/ob-emacs-lisp.el
+++ b/lisp/ob-emacs-lisp.el
@@ -63,7 +63,7 @@ by `org-edit-src-code'.")
body))))
(defun org-babel-execute:emacs-lisp (body params)
- "Execute a block of emacs-lisp code with Babel."
+ "Execute emacs-lisp code BODY according to PARAMS."
(let* ((lexical (cdr (assq :lexical params)))
(result-params (cdr (assq :result-params params)))
(body (format (if (member "output" result-params)
@@ -100,7 +100,8 @@ and the LEXICAL argument to `eval'."
(defun org-babel-edit-prep:emacs-lisp (info)
"Set `lexical-binding' in Org edit buffer.
Set `lexical-binding' in Org edit buffer according to the
-corresponding :lexical source block argument."
+corresponding :lexical source block argument provide in the INFO
+channel, as returned by `org-babel-get-src-block-info'."
(setq lexical-binding
(org-babel-emacs-lisp-lexical
(org-babel-read
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 2030c111eb: * lisp/ob-emacs-lisp.el: Document all the function arguments,
ELPA Syncer <=