From 669dc0a115c603f247e6724ff83e435919f7e3c6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 1 Nov 2005 07:03:03 +0000 Subject: [PATCH] (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. --- lisp/eshell/em-glob.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el index 869144dad74..ec7ed22876a 100644 --- a/lisp/eshell/em-glob.el +++ b/lisp/eshell/em-glob.el @@ -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)) -- 2.39.5