mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-04 15:41:37 -05:00
Fix jupyter-repl-cell-finalized-p
`point-max` is now considered the end of a cell but if the end of a cell is `point-max`, then it is by definition un-finalized. Also return t if the current line is not a cell line since those parts of the buffer that are not cells are finalized.
This commit is contained in:
parent
bc6d067d26
commit
3c6b45e53f
1 changed files with 2 additions and 1 deletions
|
@ -884,7 +884,8 @@ POS defaults to `point'."
|
|||
|
||||
(defun jupyter-repl-cell-finalized-p ()
|
||||
"Has the current cell been finalized?"
|
||||
(jupyter-repl-cell-end-p (jupyter-repl-cell-end-position)))
|
||||
(or (not (jupyter-repl-cell-line-p))
|
||||
(/= (jupyter-repl-cell-end-position) (point-max))))
|
||||
|
||||
(defun jupyter-repl-client-has-manager-p ()
|
||||
"Does the `jupyter-current-client' have a `jupyter-kernel-manager'?"
|
||||
|
|
Loading…
Add table
Reference in a new issue