Make list-processes--refresh work for pipe processes, too

* lisp/simple.el (list-processes--refresh): Don't bug out in the
presence of a `pipe' process (bug#43202).
This commit is contained in:
dickmao 2020-09-06 23:19:34 +02:00 committed by Lars Ingebrigtsen
parent 1921d2176b
commit 1b390c3cbf

View file

@ -4372,7 +4372,7 @@ Also, delete any process that is exited or signaled."
((thread-name (process-thread p)))
(t "--")))
(cmd
(if (memq type '(network serial))
(if (memq type '(network serial pipe))
(let ((contact (process-contact p t t)))
(if (eq type 'network)
(format "(%s %s)"