Use accept-process-output

This commit is contained in:
Nathaniel Nicandro 2018-10-10 14:32:46 -05:00
parent 6d48406eb5
commit c3690eb2ea

View file

@ -652,7 +652,7 @@ on EVENT. If TIMEOUT is nil it defaults to 1 s."
(or timeout (setq timeout 1))
(with-timeout (timeout nil)
(while (null (process-get ioloop event))
(sleep-for 0.01))
(accept-process-output ioloop 1))
t))
(defun jupyter--start-ioloop (client)