]> git.eshelyaron.com Git - emacs.git/commit
; Compute the list of symbols for 'eshell-eval-using-options' once
authorJim Porter <jporterbugs@gmail.com>
Tue, 13 Feb 2024 20:27:38 +0000 (12:27 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 Feb 2024 08:16:40 +0000 (09:16 +0100)
commitbfa928c68f00bf3629404624d00e49b1277a51ae
tree566feb76419761387ecbb184c66edee99d84741f
parent1b6b911b0ba31a7495b49060d42c40555af473b1
; Compute the list of symbols for 'eshell-eval-using-options' once

* lisp/eshell/esh-opt.el (eshell--get-option-symbols): New function...
(eshell-eval-using-options): ... use it.
(eshell--do-opts, eshell--process-args): Take OPTION-SYMS.

* test/lisp/eshell/esh-opt-tests.el (esh-opt-test/process-args):
(esh-opt-test/process-args-parse-leading-options-only):
(esh-opt-test/process-args-external): Pass OPTION-SYMS in.

(cherry picked from commit 160165e8a97cfa3f3ffd803be373a3b34ed87597)
lisp/eshell/esh-opt.el
test/lisp/eshell/esh-opt-tests.el