]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove superfluous 'quit' handler in 'eshell-send-input'
authorJim Porter <jporterbugs@gmail.com>
Sun, 2 Jun 2024 19:03:44 +0000 (12:03 -0700)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 09:50:26 +0000 (11:50 +0200)
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

index 7c03063995520659862222a29ab62645013a1687..ea2ccb08be1c5f58537c0afc012bb333a86fb320 100644 (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 ()