Use jupyter-connected-p in one place

This commit is contained in:
Nathaniel Nicandro 2020-09-15 12:06:28 -05:00
parent e03cedea10
commit 63a1b846d6

View file

@ -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