diff options
author | John Wiegley <johnw@newartisans.com> | 2005-11-01 07:03:03 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2005-11-01 07:03:03 +0000 |
commit | 669dc0a115c603f247e6724ff83e435919f7e3c6 (patch) | |
tree | 557ee871f80d16eace7b5be5f9c81ae9066722c7 /lisp/eshell | |
parent | 769b5f0a282ad1d185f54c1a682d342487f880d2 (diff) | |
download | emacs-669dc0a115c603f247e6724ff83e435919f7e3c6.tar.gz |
(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.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/em-glob.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |