]> git.eshelyaron.com Git - emacs.git/commitdiff
* Invoke spawed Emacs processes with '-Q' when native compiling (bug#60208)
authorAndrea Corallo <akrl@sdf.org>
Wed, 21 Dec 2022 22:26:52 +0000 (23:26 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 21 Dec 2022 22:29:33 +0000 (23:29 +0100)
* lisp/emacs-lisp/comp.el (comp-final): Invoke spawned Emacs with '-Q'.
(comp-run-async-workers): Likewise.

lisp/emacs-lisp/comp.el

index 2c306d892c74b4d0d2be67b6bd2e9c99456b381e..7fec370d47474916b9ed5c45f733677f5e1d185d 100644 (file)
@@ -3716,7 +3716,7 @@ Prepare every function for final compilation and drive the C back-end."
               (if (zerop
                    (call-process (expand-file-name invocation-name
                                                    invocation-directory)
-                                nil t t "-no-comp-spawn" "--batch" "-l"
+                                nil t t "-no-comp-spawn" "-Q" "--batch" "-l"
                                  temp-file))
                   (progn
                     (delete-file temp-file)
@@ -4005,7 +4005,7 @@ display a message."
                              :command (list
                                        (expand-file-name invocation-name
                                                          invocation-directory)
-                                       "-no-comp-spawn" "--batch"
+                                       "-no-comp-spawn" "-Q" "--batch"
                                        "--eval"
                                        ;; Suppress Abort dialogs on MS-Windows
                                        "(setq w32-disable-abort-dialog t)"