aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/eshell/em-cmpl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el
index 4fd0afbeb88..96ec031fba6 100644
--- a/lisp/eshell/em-cmpl.el
+++ b/lisp/eshell/em-cmpl.el
@@ -382,7 +382,7 @@ to writing a completion function."
382 (setq val (number-to-string val))) 382 (setq val (number-to-string val)))
383 ;; expand .../ etc that only eshell understands to 383 ;; expand .../ etc that only eshell understands to
384 ;; standard ../../ 384 ;; standard ../../
385 ((string-match "\\.\\.\\.+/" val) 385 ((and (stringp val)) (string-match "\\.\\.\\.+/" val)
386 (setq val (eshell-expand-multiple-dots val)))) 386 (setq val (eshell-expand-multiple-dots val))))
387 (or val ""))) 387 (or val "")))
388 args) 388 args)