diff --git a/jupyter-org-client.el b/jupyter-org-client.el index d49538bd..7c7be208 100644 --- a/jupyter-org-client.el +++ b/jupyter-org-client.el @@ -347,7 +347,8 @@ to." (message "An error occurred when evaluating code block.")) (when (jupyter-org-request-async-p req) (jupyter-org--clear-request-id req) - (run-hooks 'org-babel-after-execute-hook)))) + (org-with-point-at (jupyter-org-request-marker req) + (run-hooks 'org-babel-after-execute-hook))))) ;;; Completion in code blocks