mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
ein:quit: call ein:jupyter-server-stop only if it is already present
This commit is contained in:
parent
3f275425fd
commit
4afa698c9c
1 changed files with 2 additions and 1 deletions
|
@ -1787,7 +1787,8 @@ the first argument and CBARGS as the rest of arguments."
|
|||
"Close all notebooks and servers."
|
||||
(interactive "P")
|
||||
(ein:notebook-close-notebooks force)
|
||||
(ein:jupyter-server-stop force)) ; autoloaded
|
||||
(when (featurep 'ein-jupyter)
|
||||
(ein:jupyter-server-stop force))) ; autoloaded
|
||||
|
||||
|
||||
(defun ein:notebook-kill-buffer-callback ()
|
||||
|
|
Loading…
Add table
Reference in a new issue