summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-dirs.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el
index e70f2cfe196..9cf0994fe78 100644
--- a/lisp/eshell/em-dirs.el
+++ b/lisp/eshell/em-dirs.el
@@ -427,8 +427,7 @@ in the minibuffer:
(let ((eshell-last-command-name)
(eshell-last-command-status)
(eshell-last-arguments))
- (eshell-protect
- (eshell-plain-command "ls" (cdr args)))))
+ (eshell-plain-command "ls" (cdr args))))
nil))))
(put 'eshell/cd 'eshell-no-numeric-conversions t)