diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-02-27 21:04:30 -0800 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-03-03 14:59:33 +0100 |
commit | cccee7e840102488e01f9bb7c2220392d358f4f0 (patch) | |
tree | 1077dd929cf7908fd8c76b63d135b6fe1834bb60 /test/lisp/emacs-lisp | |
parent | ae1acb601764009fc2551819f9193aa6e9441be4 (diff) | |
download | emacs-cccee7e840102488e01f9bb7c2220392d358f4f0.tar.gz emacs-cccee7e840102488e01f9bb7c2220392d358f4f0.tar.bz2 emacs-cccee7e840102488e01f9bb7c2220392d358f4f0.zip |
Fix Eshell dollar interpolation inside of double-quotes
For example,
echo "${echo hi}"
previously tried to run the program named 'echo hi', instead of 'echo'
with the argument 'hi'.
* lisp/eshell/esh-arg.el (eshell-parse-inner-double-quote):
New function.
* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Support parsing
when wrapped in double-quiotes.
* test/lisp/eshell/esh-var-tests.el (esh-var-test/interp-var)
(esh-var-test/interp-quoted-var)
(esh-var-test/interp-quoted-var-concat)
(esh-var-test/quoted-interp-var)
(esh-var-test/quoted-interp-quoted-var)
(esh-var-test/quoted-interp-lisp, esh-var-test/quoted-interp-cmd)
(esh-var-test/quoted-interp-temp-cmd): New tests.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions