diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-03-05 11:45:49 -0800 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-03-08 15:55:41 +0200 |
commit | 6dc51d4cca3a0507d4212616ce1b24147dee54cb (patch) | |
tree | ff2851ee5a1e38a1789866ae47f55cb59f58775f /lisp/emacs-lisp/shortdoc.el | |
parent | 58568033f4b648e0dc8d9d893ef2197aded0a69e (diff) | |
download | emacs-6dc51d4cca3a0507d4212616ce1b24147dee54cb.tar.gz emacs-6dc51d4cca3a0507d4212616ce1b24147dee54cb.tar.bz2 emacs-6dc51d4cca3a0507d4212616ce1b24147dee54cb.zip |
Support applying indices to more Eshell dollar expansions
For example, '${echo -e "hi\nbye"}[1]' should expand to "bye".
* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Support applying
indices to '${}', '$()', and '$<>' forms.
(Bug#54227)
* lisp/eshell/esh-var-tests.el (esh-var-test/interp-lisp-indices)
(esh-var-test/interp-cmd-indices)
(esh-var-test/interp-cmd-external-indices)
(esh-var-test/quoted-interp-lisp-indices)
(esh-var-test/quoted-interp-cmd-indices): New tests.
Diffstat (limited to 'lisp/emacs-lisp/shortdoc.el')
0 files changed, 0 insertions, 0 deletions