1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

; * lisp/eshell/em-script.el (eshell-execute-file): Improve docstring.

This commit is contained in:
Jim Porter 2024-06-13 21:44:40 -07:00
parent a458dc5dc8
commit 19b407ac74

View File

@ -108,6 +108,10 @@ Comments begin with `#'."
;;;###autoload
(defun eshell-execute-file (file &optional args destination)
"Execute a series of Eshell commands in FILE, passing ARGS.
If DESTINATION is t, write the command output to the current buffer. If
nil, don't write the output anywhere. For any other value, output to
the corresponding Eshell target (see `eshell-get-target').
Comments begin with `#'."
(let ((eshell-non-interactive-p t)
(stdout (if (eq destination t) (current-buffer) destination)))