# HG changeset patch # User John Wiegley # Date 1130828583 0 # Node ID 1c3c4d25eede11a1b3a84d06a287b47f15689074 # Parent 809641367405150b62dace95c2579488b3220956 (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. diff -r 809641367405 -r 1c3c4d25eede lisp/eshell/em-glob.el --- a/lisp/eshell/em-glob.el Tue Nov 01 07:02:12 2005 +0000 +++ b/lisp/eshell/em-glob.el Tue Nov 01 07:03:03 2005 +0000 @@ -254,7 +254,8 @@ (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))