mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Use jupyter-connected-p
in one place
This commit is contained in:
parent
e03cedea10
commit
63a1b846d6
1 changed files with 2 additions and 2 deletions
|
@ -689,8 +689,8 @@ POS defaults to `point'."
|
|||
|
||||
(defun jupyter-repl-connected-p ()
|
||||
"Is the `jupyter-current-client' connected to its kernel?"
|
||||
(when jupyter-current-client
|
||||
(jupyter-kernel-alive-p jupyter-current-client)))
|
||||
(and jupyter-current-client
|
||||
(jupyter-connected-p jupyter-current-client)))
|
||||
|
||||
;;; Modifying cell code, truncating REPL buffer
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue