]> git.eshelyaron.com Git - emacs.git/commit
Convert Eshell globs ahead of time instead of doing it repeatedly
authorJim Porter <jporterbugs@gmail.com>
Fri, 24 Jun 2022 15:39:42 +0000 (08:39 -0700)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 26 Jun 2022 14:52:36 +0000 (16:52 +0200)
commitea3681575f24ab6766931d0c86f080c52f2ce2d7
treeb34466ad22ff94bd3a26aa0d9e98e43b78393d67
parent598d7c5d1c10bfb161cb53aa76d480864414487c
Convert Eshell globs ahead of time instead of doing it repeatedly

* lisp/eshell/em-glob.el (eshell-glob-recursive): New variable.
(eshell-glob-convert-1, eshell-glob-convert): New functions.
(eshell-extended-glob): Use 'eshell-glob-convert'.
(eshell-glob-entries): Adapt function to use pre-converted globs.

* test/lisp/eshell-em-glob-tests.el (em-glob-test/match-dot-files):
New test.
lisp/eshell/em-glob.el
test/lisp/eshell/em-glob-tests.el