emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b061782fa6: Fix eshell-pipe-broken signalling


From: Mattias Engdegård
Subject: master b061782fa6: Fix eshell-pipe-broken signalling
Date: Sun, 21 Aug 2022 11:53:08 -0400 (EDT)

branch: master
commit b061782fa6ea028628598f0566b7e21975f794ba
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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 27703976f6..e5977c9580 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]