Prevent Abort dialogs from async-compiling jobs on Windows
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Disable Abort dialog popping in the sub-processes that perform async compilation, by passing w32-disable-abort-dialog=t on their command line.
This commit is contained in:
parent
4d1e4a4893
commit
5a245bc786
1 changed files with 5 additions and 2 deletions
|
@ -4005,8 +4005,11 @@ display a message."
|
|||
:command (list
|
||||
(expand-file-name invocation-name
|
||||
invocation-directory)
|
||||
"-no-comp-spawn" "--batch" "-l"
|
||||
temp-file)
|
||||
"-no-comp-spawn" "--batch"
|
||||
"--eval"
|
||||
;; Suppress Abort dialogs on MS-Windows
|
||||
"(setq w32-disable-abort-dialog t)"
|
||||
"-l" temp-file)
|
||||
:sentinel
|
||||
(lambda (process _event)
|
||||
(run-hook-with-args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue