]> git.eshelyaron.com Git - emacs.git/commit
Use 'eshell-with-temp-command' (indirectly) to parse Eshell script files
authorJim Porter <jporterbugs@gmail.com>
Mon, 18 Sep 2023 04:06:46 +0000 (21:06 -0700)
committerJim Porter <jporterbugs@gmail.com>
Mon, 18 Sep 2023 04:10:28 +0000 (21:10 -0700)
commit9ab8b968d63d9287639bbc574873bf8fde769fea
tree9d70e6ef15be15f1c1771c85218cbe1d8c916c9d
parent4e46df96510335c086a3764e002c99348e0e9624
Use 'eshell-with-temp-command' (indirectly) to parse Eshell script files

* lisp/eshell/esh-cmd.el (eshell--region-p): New function.
(eshell-with-temp-command, eshell-parse-command): Support
'(:file . FILENAME)' to use the contents of FILENAME.

* lisp/eshell/em-script.el (eshell-source-file): Call
'eshell-parse-command' and use backticks.
lisp/eshell/em-script.el
lisp/eshell/esh-cmd.el