1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 17:01:01 -08:00
emacs/test/lisp/eshell
Jim Porter 54d5ea66c9 Fix evaluation of asynchronous expansions in Eshell indices
Previously, this code passed the indices to a separate function, which
called 'eval' on them, but it should instead make an S-expr that
'eshell-do-eval' can evaluate (bug#60942).

* lisp/eshell/esh-var.el (eshell-eval-indices): Mark obsolete.
(eshell-prepare-indices): New function...
(eshell-parse-variable): ... use it.  Also, remove irrelevant comment.
(eshell-parse-variable-ref): Fix quoting in docstring.
(eshell-parse-indices): Fix typo in docstring.

* test/lisp/eshell/esh-var-tests.el
(esh-var-test/interp-var-indices-subcommand)
(esh-var-test/quoted-interp-var-indices-subcommand): New tests.
2023-01-19 17:51:54 -08:00
..
em-alias-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-dirs-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-extpipe-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-glob-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt-tests.el ; Fix Eshell prompt tests when the current user is root 2023-01-17 16:59:13 -08:00
em-script-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-tramp-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-arg-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-cmd-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-ext-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-util-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-var-tests.el Fix evaluation of asynchronous expansions in Eshell indices 2023-01-19 17:51:54 -08:00
eshell-tests-helpers.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
eshell-tests.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00