From f97f4b5d8c83e0b901020f835183dde8a2bf649e Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Tue, 16 Jul 2024 15:28:52 -0500 Subject: [PATCH] Guarantee `zmq-core` has been loaded Requiring `zmq` no longer loads it in >= v1.0.1 * jupyter-ioloop.el: Call `zmq-load` at top level * jupyter-zmq-channel.el: Ditto. --- jupyter-ioloop.el | 1 + jupyter-zmq-channel.el | 1 + 2 files changed, 2 insertions(+) diff --git a/jupyter-ioloop.el b/jupyter-ioloop.el index 56bc9f4c..4ae320c5 100644 --- a/jupyter-ioloop.el +++ b/jupyter-ioloop.el @@ -50,6 +50,7 @@ (require 'jupyter-base) (require 'zmq) +(eval-and-compile (zmq-load)) (eval-when-compile (require 'subr-x)) (defvar jupyter-ioloop-poller nil diff --git a/jupyter-zmq-channel.el b/jupyter-zmq-channel.el index 0c4c6f86..d6e08f4f 100644 --- a/jupyter-zmq-channel.el +++ b/jupyter-zmq-channel.el @@ -36,6 +36,7 @@ (require 'jupyter-messages) (require 'zmq) +(eval-and-compile (zmq-load)) (require 'jupyter-channel) (eval-when-compile (require 'subr-x))