mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-07 01:51:39 -05:00
Set process-query-on-exit-flag before kill-buffer
This commit is contained in:
parent
10edb8d239
commit
e931cc26d3
1 changed files with 3 additions and 0 deletions
|
@ -196,6 +196,9 @@ is killed immediately after the execution of this function.
|
|||
(ein:safe-funcall-packed error :symbol-status 'timeout)
|
||||
(let ((proc (get-buffer-process buffer)))
|
||||
(delete-process proc)
|
||||
;; It seems that `delete-process' resets `process-query-on-exit-flag'.
|
||||
;; So, setting this flag must be placed here.
|
||||
(set-process-query-on-exit-flag proc nil)
|
||||
(kill-buffer buffer))))
|
||||
|
||||
(defun ein:query-ajax-cancel-timer ()
|
||||
|
|
Loading…
Add table
Reference in a new issue