summaryrefslogtreecommitdiff
path: root/lisp/org/ob-eshell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/ob-eshell.el')
-rw-r--r--lisp/org/ob-eshell.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/org/ob-eshell.el b/lisp/org/ob-eshell.el
index 3e2117ad019..eefb43dc1a9 100644
--- a/lisp/org/ob-eshell.el
+++ b/lisp/org/ob-eshell.el
@@ -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