]> git.eshelyaron.com Git - emacs.git/commit
Return non-zero exit status when Eshell's "which" fails to find a command
authorJim Porter <jporterbugs@gmail.com>
Mon, 9 Dec 2024 04:21:31 +0000 (20:21 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 9 Dec 2024 12:50:19 +0000 (13:50 +0100)
commitc3f0f3acd69e35bb2a455924e7946b948bdabb14
tree2a6abe5eaead84b6c2a9b96d4831179715253b53
parent0b26528d61305b9857ab642e49badb6a902068e6
Return non-zero exit status when Eshell's "which" fails to find a command

* lisp/eshell/esh-cmd.el (eshell/which): Set exit status to 1 if we
couldn't find any of the commands (bug#74739).

(cherry picked from commit b6c91cdf54168eef260e28a7866486a4d68bfc9e)
lisp/eshell/esh-cmd.el