mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-04 15:41:37 -05:00
jupyter-api-login: Mark response buffer as dead
This commit is contained in:
parent
c711562207
commit
e8540667c7
1 changed files with 3 additions and 1 deletions
|
@ -432,7 +432,9 @@ error with the data being the error received by `url-retrieve'."
|
|||
(let (status done)
|
||||
(jupyter-api-url-request
|
||||
(concat (oref client url) "/login")
|
||||
(lambda (s &rest _) (setq status s done t)))
|
||||
(lambda (s &rest _)
|
||||
(url-mark-buffer-as-dead (current-buffer))
|
||||
(setq status s done t)))
|
||||
(jupyter-with-timeout
|
||||
(nil jupyter-long-timeout
|
||||
(error "Timeout reached during login"))
|
||||
|
|
Loading…
Add table
Reference in a new issue