ein:login autoload bug

This commit is contained in:
dickmao 2020-03-05 09:16:19 -05:00
parent 73b85c19f1
commit 160a0aa885
2 changed files with 2 additions and 1 deletions

View file

@ -105,7 +105,7 @@ Current buffer for these functions is set to the notebook buffer.")
(ein:deflocal ein:%notebook% nil
"Buffer local variable to store an instance of `ein:$notebook'.")
(defsubst ein:get-notebook () ein:%notebook%)
(defun ein:get-notebook () ein:%notebook%)
(defun ein:get-notebook-or-error ()
(or (ein:get-notebook)

View file

@ -40,6 +40,7 @@
(declare-function ein:jupyter-get-default-kernel "ein-jupyter")
(declare-function ein:jupyter-crib-running-servers "ein-jupyter")
(declare-function ein:file-open "ein-file")
(autoload 'ein:get-notebook "ein-notebook")
(defcustom ein:notebooklist-login-timeout (truncate (* 6.3 1000))
"Timeout in milliseconds for logging into server"