From d7805413b68cada87afc6cb0b55f616b9bf81cbc Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Thu, 1 Aug 2024 09:31:44 -0700 Subject: [PATCH] ; * lisp/eshell/em-dirs.el (eshell/cd): Remove extraneous 'eshell-protect'. (cherry picked from commit 1134734e19617a0875b77f8c7df64cfb265ec118) --- lisp/eshell/em-dirs.el | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.39.5