1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* doc/misc/eshell.texi (Scripts): Improve wording for 'eshell-batch-file'.

This commit is contained in:
Eric Frederickson 2025-09-16 13:05:07 -05:00 committed by Jim Porter
parent d4ee087eba
commit 29d46a2e75

View file

@ -300,9 +300,8 @@ standard error, you can write to the Eshell virtual target
@cindex batch scripts
@defun eshell-batch-file
This function lets you make an Eshell script file executable from
outside of Emacs by adding it to the script's interpreter directive like
this:
You can use this function in the interpreter directive of an Eshell
script file to make the script executable from outside of Emacs:
@example
#!/usr/bin/env -S emacs --batch -f eshell-batch-file