From 5179c4215c25062cba1260f4503c8d057628be4d Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Thu, 18 Oct 2018 12:46:55 -0500 Subject: [PATCH] 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. --- jupyter-repl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-repl.el b/jupyter-repl.el index 570f159..cb94292 100644 --- a/jupyter-repl.el +++ b/jupyter-repl.el @@ -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