mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
commit
5f7e3bf741
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ session, along with the login token."
|
|||
(condition-case err
|
||||
(with-current-buffer (process-buffer %ein:jupyter-server-session%) ;;ein:jupyter-server-buffer-name
|
||||
(goto-char (point-max))
|
||||
(re-search-backward "\\(https?://.*:[0-9]+\\)/\\?token=\\(.*\\)" nil)
|
||||
(re-search-backward "\\(https?://.*:[0-9]+\\)/\\?token=\\([[:alnum:]]*\\)" nil)
|
||||
(let ((url-or-port (match-string 1))
|
||||
(token (match-string 2)))
|
||||
(list url-or-port token)))
|
||||
|
|
Loading…
Add table
Reference in a new issue