summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-glob.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell/em-glob.el')
-rw-r--r--lisp/eshell/em-glob.el3
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))