mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-repl-connected-p: Simplify heartbeat check
This commit is contained in:
parent
2642450e82
commit
7aac141275
1 changed files with 1 additions and 3 deletions
|
@ -1059,9 +1059,7 @@ POS defaults to `point'."
|
|||
;; Check if the kernel is local
|
||||
(jupyter-kernel-alive-p
|
||||
(oref jupyter-current-client manager)))
|
||||
(let ((hb (oref jupyter-current-client hb-channel)))
|
||||
(and (jupyter-channel-alive-p hb)
|
||||
(jupyter-hb-beating-p hb))))))
|
||||
(jupyter-hb-beating-p jupyter-current-client))))
|
||||
|
||||
;;; Modifying cell code, truncating REPL buffer
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue