mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Process instance is no available in the URL callback
This commit is contained in:
parent
fa681ff2d5
commit
936f652369
1 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,9 @@ is killed immediately after the execution of this function.
|
|||
(ein:query-ajax-cancel-timer)
|
||||
;; It seems that `delete-process' resets `process-query-on-exit-flag'.
|
||||
;; So, setting this flag must be placed here, just before killing buffer.
|
||||
(set-process-query-on-exit-flag (get-buffer-process (current-buffer)) nil)
|
||||
(ein:aif (get-buffer-process (current-buffer))
|
||||
(progn (set-process-query-on-exit-flag it nil)
|
||||
(ein:log 'debug "(set-process-query-on-exit-flag %S nil)" it)))
|
||||
(let* ((buffer (current-buffer)) ; `parser' could change buffer...
|
||||
(response-status url-http-response-status)
|
||||
(status-code-callback (cdr (assq response-status status-code)))
|
||||
|
|
Loading…
Add table
Reference in a new issue