diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-12-20 13:47:20 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2022-12-22 11:35:12 -0800 |
commit | 17bf6a829ca2fd2920c01e1aee30ab16b9c672eb (patch) | |
tree | 945f4fba5c798fd69494bbe54cf03496745755a3 /lisp/emacs-lisp/syntax.el | |
parent | 6defbd65b664b17ad7389a936743debe23d5257e (diff) | |
download | emacs-17bf6a829ca2fd2920c01e1aee30ab16b9c672eb.tar.gz emacs-17bf6a829ca2fd2920c01e1aee30ab16b9c672eb.tar.bz2 emacs-17bf6a829ca2fd2920c01e1aee30ab16b9c672eb.zip |
Simplify handling of /dev/null redirection in Eshell
This also fixes an issue where "echo hi > foo > /dev/null" didn't
write to the file "foo". (Note that users can still use their
system's null device name when redirecting; Eshell doesn't need to do
anything special to support that.)
* lisp/eshell/esh-io.el (eshell-virtual-targets): Add "/dev/null".
(eshell-set-output-handle): Handle 'eshell-null-device'.
* test/lisp/eshell/esh-io-tests.el
(esh-io-test/redirect-subcommands/dev-null)
(esh-io-test/virtual/dev-null, esh-io-test/virtual/dev-null/multiple):
New tests.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions