mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-rep-sync-execution-state: Only update the last cell count
This commit is contained in:
parent
b31c23861e
commit
169b5647e5
1 changed files with 4 additions and 2 deletions
|
@ -1574,8 +1574,10 @@ it."
|
|||
(unless (equal (jupyter-execution-state client) "busy")
|
||||
;; Set the cell count and update the prompt
|
||||
(jupyter-with-repl-buffer client
|
||||
(jupyter-repl-update-cell-count
|
||||
(oref client execution-count))))))
|
||||
(save-excursion
|
||||
(goto-char (point-max))
|
||||
(jupyter-repl-update-cell-count
|
||||
(oref client execution-count)))))))
|
||||
;; Waiting longer here to account for initial startup of the Jupyter
|
||||
;; kernel. Sometimes the idle message won't be received if another long
|
||||
;; running execute request is sent right after.
|
||||
|
|
Loading…
Add table
Reference in a new issue