mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
No need to reset process-query-on-exit-flag
The code for resetting process-query-on-exit-flag is not executed and it works fine without it. I think this flag was reset in the old version because the buffer is killed in the query callback.
This commit is contained in:
parent
d32f7e5a75
commit
255b3a7696
1 changed files with 0 additions and 5 deletions
|
@ -168,11 +168,6 @@ is killed immediately after the execution of this function.
|
|||
(ein:log 'debug "(buffer-string) =\n%s" (buffer-string))
|
||||
|
||||
(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.
|
||||
(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