mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
jupyter-server-list-kernels: Better documentation
This commit is contained in:
parent
3aa889b25c
commit
5efa64ff19
1 changed files with 4 additions and 1 deletions
|
@ -746,7 +746,10 @@ the same meaning as in `jupyter-connect-repl'."
|
|||
|
||||
;;;###autoload
|
||||
(defun jupyter-server-list-kernels (server)
|
||||
"Display a list of live kernels on SERVER."
|
||||
"Display a list of live kernels on SERVER.
|
||||
When called interactively, ask to select a SERVER when given a
|
||||
prefix argument otherwise the `jupyter-current-server' will be
|
||||
used."
|
||||
(interactive (list (jupyter-current-server current-prefix-arg)))
|
||||
(if (zerop (length (jupyter-api-get-kernel server)))
|
||||
(when (yes-or-no-p (format "No kernels at %s; launch one? "
|
||||
|
|
Loading…
Add table
Reference in a new issue