]> git.eshelyaron.com Git - emacs.git/commit
Fix redirecting Eshell output to symbols in some places
authorJim Porter <jporterbugs@gmail.com>
Thu, 29 Aug 2024 01:53:03 +0000 (18:53 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:42 +0000 (09:51 +0200)
commitb0283696aad40cc00d2516748c368da75f5dd6dd
tree7353bd97787b9fc4223b7a169fb1ac18c45cd0b6
parent300e912747fe7d66d21f2f43af24004bf2eeed20
Fix redirecting Eshell output to symbols in some places

* lisp/eshell/esh-io.el (eshell-output-object-to-target): Don't require
TARGET to be bound.

* lisp/eshell/em-script.el (eshell-execute-file):
* lisp/eshell/eshell.el (eshell-command): Quote the output/error
targets.

* test/lisp/eshell/em-script-tests.el (eshell-execute-file-output): New
variable.
(em-script-test/execute-file/output-symbol): New test.

* test/lisp/eshell/eshell-tests.el (eshell-command-output): New
variable.
(eshell-test/eshell-command/output-symbol): New test (bug#72857).

(cherry picked from commit e269cf63a67d529740d0ec2382ae7c3a982cd064)
lisp/eshell/em-script.el
lisp/eshell/esh-io.el
lisp/eshell/eshell.el
test/lisp/eshell/em-script-tests.el
test/lisp/eshell/eshell-tests.el