Support "/dev/null" as a target when creating Eshell handles
authorJim Porter <jporterbugs@gmail.com>
Thu, 29 Aug 2024 02:12:29 +0000 (19:12 -0700)
committerJim Porter <jporterbugs@gmail.com>
Fri, 30 Aug 2024 04:51:25 +0000 (21:51 -0700)
commit5fbbc3d0cd277ec71de55c9fd9036afadc875020
tree23de146a3cdf0dc7fd2b66aa674bc26f4485e16e
parent4af1dc83ae8857665162dc4dd05cb5a46e2f9449
Support "/dev/null" as a target when creating Eshell handles

Previously, you could only use this when setting the handle afterwards.

Do not merge to master.

* lisp/eshell/esh-io.el (eshell-set-output-handle): Don't catch
'eshell-null-device' here...
(eshell-get-target): ... catch it here.
lisp/eshell/esh-io.el