diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-10-22 09:43:00 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-10-22 09:43:00 -0700 |
commit | b7a375f5c49ac86399b9af7a6a74720ed294abd7 (patch) | |
tree | 906a8584f8f2b71f487308721bdfcf16d65096c8 /lisp/emacs-lisp | |
parent | 2289e162268b82d1d757c2354bf3fdf92316e91d (diff) | |
download | emacs-b7a375f5c49ac86399b9af7a6a74720ed294abd7.tar.gz emacs-b7a375f5c49ac86399b9af7a6a74720ed294abd7.tar.bz2 emacs-b7a375f5c49ac86399b9af7a6a74720ed294abd7.zip |
Fix error when splicing Eshell globs and a glob expands to itself
This could happen when 'eshell-extended-glob' determines that a "glob"
is not really a glob. This mainly happens for remote file names with a
"~" in them, like "/ssh:remote:~/file.txt".
* lisp/eshell/em-glob.el (eshell-extended-glob): Return a list when
'eshell-glob-splice-results' is non-nil.
* test/lisp/eshell/em-glob-tests.el
(em-glob-test/expand/splice-results)
em-glob-test/expand/no-splice-results): Extend tests.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions