mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-18 17:01:01 -08:00
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. |
||
|---|---|---|
| .. | ||
| em-alias-tests.el | ||
| em-basic-tests.el | ||
| em-dirs-tests.el | ||
| em-extpipe-tests.el | ||
| em-glob-tests.el | ||
| em-hist-tests.el | ||
| em-ls-tests.el | ||
| em-pred-tests.el | ||
| em-prompt-tests.el | ||
| em-script-tests.el | ||
| em-tramp-tests.el | ||
| esh-arg-tests.el | ||
| esh-cmd-tests.el | ||
| esh-ext-tests.el | ||
| esh-io-tests.el | ||
| esh-opt-tests.el | ||
| esh-proc-tests.el | ||
| esh-util-tests.el | ||
| esh-var-tests.el | ||
| eshell-tests-helpers.el | ||
| eshell-tests.el | ||