mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-eval: Inhibit client handlers
This commit is contained in:
parent
669f1716aa
commit
4683785553
1 changed files with 3 additions and 2 deletions
|
@ -958,8 +958,9 @@ text/plain representation."
|
|||
(cl-check-type jupyter-current-client jupyter-kernel-client
|
||||
"Need a client to evaluate code")
|
||||
(let ((msg (jupyter-wait-until-received :execute-result
|
||||
(jupyter-send-execute-request jupyter-current-client
|
||||
:code code :store-history nil))))
|
||||
(let ((jupyter-inhibit-handlers t))
|
||||
(jupyter-send-execute-request jupyter-current-client
|
||||
:code code :store-history nil)))))
|
||||
(when msg
|
||||
(jupyter-message-data msg (or mime :text/plain)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue