]> git.eshelyaron.com Git - emacs.git/commit
When redirecting in Eshell, check for "/dev/null" specifically
authorJim Porter <jporterbugs@gmail.com>
Wed, 21 Dec 2022 00:20:50 +0000 (16:20 -0800)
committerJim Porter <jporterbugs@gmail.com>
Thu, 22 Dec 2022 01:14:41 +0000 (17:14 -0800)
commitd6c8d5dbc9fc4786e91b76654058e904c96f0e11
tree775ce8db53458f32fdb6978554fb3e6f9b2adbf1
parente59216d3be86918b995bd63273c851ebc6176a83
When redirecting in Eshell, check for "/dev/null" specifically

This is so that users can type "cmd ... > /dev/null" in Eshell no
matter what their system's null device is called.  (Users can still
use their system's null device name when redirecting, too.  Eshell
doesn't need to do anything special to support that.)  This partially
reverts 67a8bdb90c9b5865b7f17290c7135b1a5458c36d.  See bug#59545.

Do not merge to master.

* lisp/eshell/esh-io.el (eshell-set-output-handle): Use "/dev/null"
literally.
lisp/eshell/esh-io.el