Only inhibit handlers when necessary

This ensures that any bookkeeping done in the handlers is actually performed.
This commit is contained in:
Nathaniel Nicandro 2018-05-30 11:05:31 -05:00
parent d875ce7116
commit 04ecedd320

View file

@ -1739,7 +1739,7 @@ displayed without anything showing up in the REPL buffer."
(jupyter-repl-insert-prompt 'in))
(setq str (string-trim str))
(let* ((jupyter-inhibit-handlers
(or silently '(:execute-reply :execute-result)))
(or silently '(:execute-result)))
(req (jupyter-send-execute-request jupyter-repl-current-client
:code (if silently (string-trim str)
(prog1 nil