Commit 669dc0a1 authored by John Wiegley's avatar John Wiegley
Browse files

(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.
parent 769b5f0a
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment