aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/eshell/esh-opt-tests.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use lexical-binding in most eshell testsStefan Kangas2020-04-291-1/+1
| | | | | | * test/lisp/eshell/em-hist-tests.el: * test/lisp/eshell/em-ls-tests.el: * test/lisp/eshell/esh-opt-tests.el: Use lexical-binding.
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Update more copyright yearsPaul Eggert2018-12-311-1/+1
| | | | | | | | Update some other copyright years automatically, by running: Run 'UPDATE_COPYRIGHT_YEAR=2019 \ UPDATE_COPYRIGHT_USE_INTERVALS=1 \ UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 admin/update-copyright' followed by 'admin/merge-gnulib'.
* esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323)Jay Kamat2018-05-151-0/+124
* lisp/eshell/esh-opt.el (eshell-eval-using-options): Add a new :parse-leading-options-only argument which ignores dash/switch arguments after the first positional argument. (eshell--process-args): Abort processing of arguments if we see one positional argument and :parse-leading-options-only is set. * lisp/eshell/em-tramp.el (eshell/sudo): Use :parse-leading-options-only, to avoid parsing subcommand switches as switches of sudo itself. * test/lisp/eshell/esh-opt-tests.el: Add tests for new and old behavior.