]> git.eshelyaron.com Git - emacs.git/commit
(file-expand-wildcards): Handle patterns ending in "/"
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Dec 2023 00:46:07 +0000 (19:46 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Dec 2023 00:49:33 +0000 (19:49 -0500)
commit6cc1418fc3e8107cab2c9824c367ba7762235aef
tree5e62b6d439dd27bea3f90719f796acd92743be50
parent1da0fccc646d1921782dd6d701bc86004cfb3732
(file-expand-wildcards): Handle patterns ending in "/"

The bug was encountered via the ls-lisp advice on Dired but
it actually affects all uses of `file-expand-wildcards`,
so better fix it there.

* lisp/files.el (file-expand-wildcards): Fix bug#60819.
* lisp/ls-lisp.el (ls-lisp--dired): Undo commit b365a7cc32e2.
* test/lisp/files-tests.el (files-tests--expand-wildcards): New test.
lisp/files.el
lisp/ls-lisp.el
test/lisp/files-tests.el