projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70fd2e0
)
Fix eshell-pipe-broken signalling
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 21 Aug 2022 15:50:42 +0000
(17:50 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 21 Aug 2022 15:52:03 +0000
(17:52 +0200)
* lisp/eshell/esh-io.el (eshell-output-object-to-target):
Second argument to `signal` should be a list.
lisp/eshell/esh-io.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-io.el
b/lisp/eshell/esh-io.el
index 27703976f6ddcc2c3ba319d8c560790a3e5d6f9a..e5977c9580754246c823ff1702361887d7ee1c1a 100644
(file)
--- 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))))