mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-04 23:41:37 -05:00
Don't use zmq-recv-decoded
and zmq-send-encoded
These functions no longer exist in newer versions of `emacs-zmq`. Closes #433.
This commit is contained in:
parent
3736ae753a
commit
14899664b6
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ polling the STDIN file handle."
|
|||
(zmq-poller-add jupyter-ioloop-poller jupyter-ioloop-stdin zmq-POLLIN)
|
||||
,(jupyter-ioloop--body
|
||||
ioloop (jupyter-ioloop--event-dispatcher
|
||||
ioloop (if port '(read (zmq-recv-decoded jupyter-ioloop-stdin))
|
||||
ioloop (if port '(read (zmq-recv jupyter-ioloop-stdin))
|
||||
'(zmq-subprocess-read))))))
|
||||
|
||||
(defun jupyter-ioloop-alive-p (ioloop)
|
||||
|
@ -493,7 +493,7 @@ serializable."
|
|||
(while (not sent)
|
||||
(condition-case nil
|
||||
(progn
|
||||
(zmq-send-encoded stdin msg nil zmq-DONTWAIT)
|
||||
(zmq-send stdin msg nil zmq-DONTWAIT)
|
||||
(setq sent t))
|
||||
(zmq-EAGAIN (accept-process-output nil 0)))))
|
||||
(zmq-subprocess-send process args)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue