diff options
| author | Jim Porter | 2023-01-18 19:15:38 -0800 |
|---|---|---|
| committer | Jim Porter | 2023-01-19 17:51:54 -0800 |
| commit | 54d5ea66c99f03240379d6d2e411145cced585a5 (patch) | |
| tree | 77ec57de79d5e41d27205c72a9d63f97c8095522 /java | |
| parent | 207901457c018d94b1ce9e13a897d8241b1f3af2 (diff) | |
| download | emacs-54d5ea66c99f03240379d6d2e411145cced585a5.tar.gz emacs-54d5ea66c99f03240379d6d2e411145cced585a5.zip | |
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.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions