Skip to content

Commit 1489966

Browse files
committed
Don't use zmq-recv-decoded and zmq-send-encoded
These functions no longer exist in newer versions of `emacs-zmq`. Closes #433.
1 parent 3736ae7 commit 1489966

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter-ioloop.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ polling the STDIN file handle."
387387
(zmq-poller-add jupyter-ioloop-poller jupyter-ioloop-stdin zmq-POLLIN)
388388
,(jupyter-ioloop--body
389389
ioloop (jupyter-ioloop--event-dispatcher
390-
ioloop (if port '(read (zmq-recv-decoded jupyter-ioloop-stdin))
390+
ioloop (if port '(read (zmq-recv jupyter-ioloop-stdin))
391391
'(zmq-subprocess-read))))))
392392

393393
(defun jupyter-ioloop-alive-p (ioloop)
@@ -493,7 +493,7 @@ serializable."
493493
(while (not sent)
494494
(condition-case nil
495495
(progn
496-
(zmq-send-encoded stdin msg nil zmq-DONTWAIT)
496+
(zmq-send stdin msg nil zmq-DONTWAIT)
497497
(setq sent t))
498498
(zmq-EAGAIN (accept-process-output nil 0)))))
499499
(zmq-subprocess-send process args)))))

0 commit comments

Comments
 (0)