]> git.eshelyaron.com Git - emacs.git/commit
Raise an error from 'eval-eval-using-options' for unknown options
authorJim Porter <jporterbugs@gmail.com>
Thu, 20 Jan 2022 02:59:23 +0000 (18:59 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 21 Jan 2022 12:06:11 +0000 (13:06 +0100)
commit90de226e218883f2a62ce3e1ba9a79ef8e1be70c
tree64790dd0034f28081c7a89f61d477500d3612911
parenta133af7c7f3aa2fd7fb4fea9c54cd082ed1481f3
Raise an error from 'eval-eval-using-options' for unknown options

* lisp/eshell/em-basic.el (eshell/echo): Add -E option.

* lisp/eshell/esh-opt.el (eshell--process-option): Raise an error if
an unknown option is encountered, even when :external is nil.

* test/lisp/eshell/esh-opt-tests.el (esh-opt-process-args-test)
(test-eshell-eval-using-options): Add test cases for this.
lisp/eshell/em-basic.el
lisp/eshell/esh-opt.el
test/lisp/eshell/esh-opt-tests.el