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:
Nathaniel Nicandro 2023-02-03 20:10:24 -06:00
parent 3736ae753a
commit 14899664b6

View file

@ -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)))))