mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Simplify making jupyter-request
objects when sending a message
This commit is contained in:
parent
80509f275c
commit
91da143fb1
1 changed files with 2 additions and 3 deletions
|
@ -269,9 +269,8 @@ sent message, see `jupyter-add-callback' and
|
||||||
;; Anything sent to stdin is a reply not a request so don't add it to
|
;; Anything sent to stdin is a reply not a request so don't add it to
|
||||||
;; `:pending-requests'.
|
;; `:pending-requests'.
|
||||||
(unless (eq (oref channel type) :stdin)
|
(unless (eq (oref channel type) :stdin)
|
||||||
(let ((req (make-jupyter-request)))
|
(let ((req (make-jupyter-request
|
||||||
(setf (jupyter-request-run-handlers-p req)
|
:run-handlers-p (not jupyter-inhibit-handlers))))
|
||||||
(not jupyter-inhibit-handlers))
|
|
||||||
(jupyter--ioloop-push-request client req)
|
(jupyter--ioloop-push-request client req)
|
||||||
req))))
|
req))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue