summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/re-builder.el
diff options
context:
space:
mode:
authorJay Kamat <jaygkamat@gmail.com>2018-05-08 12:36:36 -0700
committerNoam Postavsky <npostavs@gmail.com>2018-05-15 19:32:49 -0400
commita4c616e27aa48e7d524e0c5cfaf67f17d04989e4 (patch)
tree67ac930677e194e8ab3d583568c191c28294d996 /lisp/emacs-lisp/re-builder.el
parent92a8230e49a65be48442ee95cf50c90514e48f99 (diff)
downloademacs-a4c616e27aa48e7d524e0c5cfaf67f17d04989e4.tar.gz
emacs-a4c616e27aa48e7d524e0c5cfaf67f17d04989e4.tar.bz2
emacs-a4c616e27aa48e7d524e0c5cfaf67f17d04989e4.zip
esh-opt.el: Add a :parse-leading-options-only argument (Bug#28323)
* 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.
Diffstat (limited to 'lisp/emacs-lisp/re-builder.el')
0 files changed, 0 insertions, 0 deletions