This is now handled by the command form itself, thanks to
eef32d13da5.
* lisp/eshell/esh-mode.el (eshell-send-input): Remove 'quit' handler.
(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 ()