Skip to content

Commit

Permalink
jupyter-send (jupyter-ioloop): Fix placement of setq
Browse files Browse the repository at this point in the history
  • Loading branch information
nnicandro committed Jul 8, 2019
1 parent 4daa09b commit 4f944d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jupyter-ioloop.el
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,10 @@ serializable."
(let ((msg (jupyter-ioloop--dump-message args)) sent)
(while (not sent)
(condition-case nil
(zmq-send-encoded stdin msg nil zmq-DONTWAIT)
(zmq-EAGAIN (accept-process-output nil 0)))
(setq sent t)))
(progn
(zmq-send-encoded stdin msg nil zmq-DONTWAIT)
(setq sent t))
(zmq-EAGAIN (accept-process-output nil 0)))))
(zmq-subprocess-send process args)))))

(provide 'jupyter-ioloop)
Expand Down

0 comments on commit 4f944d3

Please sign in to comment.