mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-repl-eval-string: Inhibit all handlers except for the status handler
This allows for the `execution-state` of the REPL to be updated and the mode-line string of `jupyter-repl-interation-mode` to be properly updated.
This commit is contained in:
parent
67a3f997bd
commit
5179c4215c
1 changed files with 1 additions and 1 deletions
|
@ -2171,7 +2171,7 @@ to the above explanation."
|
|||
(setq str (if silently (string-trim str)
|
||||
(prog1 nil
|
||||
(jupyter-repl-replace-cell-code str))))
|
||||
(let* ((jupyter-inhibit-handlers (or (and silently t) '(:execute-result)))
|
||||
(let* ((jupyter-inhibit-handlers '(not :status))
|
||||
(req (jupyter-send-execute-request jupyter-current-client
|
||||
:code str :store-history (unless silently t))))
|
||||
(jupyter-add-callback req
|
||||
|
|
Loading…
Add table
Reference in a new issue