]> git.eshelyaron.com Git - emacs.git/commit
Don't use 'list' command in Eshell command forms
authorJim Porter <jporterbugs@gmail.com>
Thu, 9 Jun 2022 16:50:20 +0000 (09:50 -0700)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 Jun 2022 15:55:06 +0000 (18:55 +0300)
commit4c31fd166851ebd27a28743c613a4b1833cf2a46
tree6f51300bb70943527a38cf94892e86657888972d
parentac1d45c5ea8041284021ebdd8cf4609c92b83608
Don't use 'list' command in Eshell command forms

When executed like a command, 'list' looks for external programs named
'list' first before falling back to the Lisp function of the same
name.  This causes unexpected behavior, since the Lisp function is
what we want in these tests.

* test/lisp/eshell/esh-var-tests.el (esh-var-test/interp-cmd-indices)
(esh-var-test/quoted-interp-cmd-indices): Use 'listify' instead of
'list'.
test/lisp/eshell/esh-var-tests.el