Backport commit e0070fc57 from Emacs

* lisp/ob-eshell.el (org-babel-execute:eshell): Improve docstring.

Improve org-babel-execute:eshell docstring
e0070fc574a8621b2fbb1aaca678b974a3dc5fd5
Stefan Kangas
Sun Sep 17 16:57:25 2023 +0200
This commit is contained in:
Stefan Kangas 2023-09-17 16:57:20 +02:00 committed by Kyle Meyer
parent c49b8f68ca
commit d7ee5691cb
1 changed files with 5 additions and 4 deletions

View File

@ -47,11 +47,12 @@
"Execute a block of Eshell code BODY with PARAMS.
This function is called by `org-babel-execute-src-block'.
The BODY can be any code which allowed executed in Eshell.
Eshell allow to execute normal shell command and Elisp code.
More details please reference Eshell Info.
The BODY argument is code which can be executed in Eshell.
Eshell allows executing normal shell command and Elisp code.
For more details, see Info node `(eshell) Top'.
The PARAMS are variables assignments."
The PARAMS argument is passed to
`org-babel-expand-body:generic' (which see)."
(let* ((session (org-babel-eshell-initiate-session
(cdr (assq :session params))))
(full-body (org-babel-expand-body:generic