1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
emacs/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.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-basic.el Use proper types for Eshell warnings 2023-01-18 09:14:59 -08:00
em-cmpl.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-dirs.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-glob.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-ls.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt.el Add 'file-user-uid' to get the connection-local effective UID 2023-01-16 17:11:02 -08:00
em-rebind.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-term.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-tramp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-unix.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-xtra.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-arg.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-cmd.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-ext.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-mode.el Use the 'field' property to navigate through Eshell prompts 2023-01-14 11:13:42 -08:00
esh-module.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-opt.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-proc.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-util.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-var.el Fix evaluation of asynchronous expansions in Eshell indices 2023-01-19 17:51:54 -08:00
eshell.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00