(eshell-extended-glob): Expand the "." path before passing it down to
`eshell-glob-entries'. This is done because special file-handlers will on trigger on ".", even if `default-directory' is special.
This commit is contained in:
parent
769b5f0a28
commit
669dc0a115
1 changed files with 2 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ the form:
|
|||
(file-name-absolute-p (car paths)))
|
||||
(eshell-glob-entries (file-name-as-directory (car paths))
|
||||
(cdr paths))
|
||||
(eshell-glob-entries (file-name-as-directory ".") paths))
|
||||
(eshell-glob-entries (expand-file-name
|
||||
(file-name-as-directory ".")) paths))
|
||||
(if message-shown
|
||||
(message nil)))
|
||||
(or (and matches (nreverse matches))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue