From 940c63bb06c1cfca43607ce164dcc8e5ca3196c4 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Sun, 2 Jun 2024 12:03:44 -0700 Subject: [PATCH] ; Remove superfluous 'quit' handler in 'eshell-send-input' This is now handled by the command form itself, thanks to eef32d13da5. * lisp/eshell/esh-mode.el (eshell-send-input): Remove 'quit' handler. (cherry picked from commit b44d511102dd3a94495d8f8446c88ac8898cd58f) --- lisp/eshell/esh-mode.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 7c030639955..ea2ccb08be1 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -659,15 +659,11 @@ newline." (eval cmd) (eshell-eval-command cmd input)))) (eshell-life-is-too-much))))) - (quit - (eshell-reset t) - (run-hooks 'eshell-post-command-hook) - (signal 'quit nil)) (error (eshell-reset t) (eshell-interactive-print (concat (error-message-string err) "\n")) - (run-hooks 'eshell-post-command-hook) + (run-hooks 'eshell-post-command-hook) (insert-and-inherit input))))))))) (defun eshell-send-eof-to-process () -- 2.39.2