mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 15:41:37 -05:00
jupyter-handle-message: Update execution-state for any status message
This commit is contained in:
parent
1f5c7743d5
commit
57e9af3a13
1 changed files with 3 additions and 3 deletions
|
@ -796,13 +796,13 @@ are taken:
|
|||
(pmsg-id (jupyter-message-parent-id msg))
|
||||
(requests (oref client requests))
|
||||
(req (gethash pmsg-id requests)))
|
||||
(when (eq (jupyter-message-type msg) :status)
|
||||
(oset client execution-state
|
||||
(jupyter-message-get msg :execution_state)))
|
||||
(if (not req)
|
||||
(when (jupyter-get client 'jupyter-include-other-output)
|
||||
(jupyter--run-handler-maybe client channel req msg))
|
||||
(setf (jupyter-request-last-message req) msg)
|
||||
(when (eq (jupyter-message-type msg) :status)
|
||||
(oset client execution-state
|
||||
(jupyter-message-get msg :execution_state)))
|
||||
(unwind-protect
|
||||
(jupyter--run-callbacks req msg)
|
||||
(unwind-protect
|
||||
|
|
Loading…
Add table
Reference in a new issue