]> git.eshelyaron.com Git - emacs.git/commit
Treat "-" as a positional arg in 'eshell-eval-using-options'
authorJim Porter <jporterbugs@gmail.com>
Tue, 25 Jan 2022 05:08:50 +0000 (21:08 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 25 Jan 2022 12:28:48 +0000 (13:28 +0100)
commit44ffd6a825300fec5e492805bb105d2c8c3d0c1c
tree8795aa3284e7fd1f51ce4a13d92484d2350092bf
parentdea24a0f7d4ae42fae912dd724a770678054989a
Treat "-" as a positional arg in 'eshell-eval-using-options'

* lisp/eshell/esh-opt.el (eshell--process-args): Treat "-" as a
positional arg.

* lisp/eshell/em-tramp.el (eshell/su): Simplify checking for "-".

* test/lisp/eshell/esh-opt-tests.el
(esh-opt-test/eval-using-options-stdin): New test.
lisp/eshell/em-tramp.el
lisp/eshell/esh-opt.el
test/lisp/eshell/esh-opt-tests.el