From b061782fa6ea028628598f0566b7e21975f794ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 21 Aug 2022 17:50:42 +0200 Subject: [PATCH] Fix eshell-pipe-broken signalling * lisp/eshell/esh-io.el (eshell-output-object-to-target): Second argument to `signal` should be a list. --- lisp/eshell/esh-io.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el index 27703976f6d..e5977c95807 100644 --- a/lisp/eshell/esh-io.el +++ b/lisp/eshell/esh-io.el @@ -501,7 +501,7 @@ Returns what was actually sent, or nil if nothing was sent." (condition-case nil (process-send-string target object) ;; If `process-send-string' raises an error, treat it as a broken pipe. - (error (signal 'eshell-pipe-broken target)))) + (error (signal 'eshell-pipe-broken (list target))))) ((consp target) (apply (car target) object (cdr target)))) -- 2.39.5