; Remove superfluous 'quit' handler in 'eshell-send-input'

This is now handled by the command form itself, thanks to eef32d13da.

* lisp/eshell/esh-mode.el (eshell-send-input): Remove 'quit' handler.
This commit is contained in:
Jim Porter 2024-06-02 12:03:44 -07:00
parent bffe73b562
commit b44d511102

View file

@ -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 ()