From: Jim Porter Date: Sun, 2 Jun 2024 19:03:44 +0000 (-0700) Subject: ; Remove superfluous 'quit' handler in 'eshell-send-input' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=940c63bb06c1cfca43607ce164dcc8e5ca3196c4;p=emacs.git ; 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) --- 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 ()