]> git.eshelyaron.com Git - emacs.git/commitdiff
* Forward `comp-file-preloaded-p' to async workers
authorAndrea Corallo <akrl@sdf.org>
Fri, 27 Aug 2021 13:30:20 +0000 (15:30 +0200)
committerAndrea Corallo <akrl@sdf.org>
Fri, 27 Aug 2021 13:30:20 +0000 (15:30 +0200)
* lisp/emacs-lisp/comp.el (comp-run-async-workers): Forward
`comp-file-preloaded-p' to async workers.

lisp/emacs-lisp/comp.el

index 7d2d36d10345bb2f82b75849b6ad5703c100559f..80a1da5ad8c8cc918872d86bea8c0459a064d225 100644 (file)
@@ -3918,7 +3918,8 @@ display a message."
          do (let* ((expr `((require 'comp)
                            ,(when (boundp 'backtrace-line-length)
                               `(setf backtrace-line-length ,backtrace-line-length))
-                           (setf native-compile-target-directory ,native-compile-target-directory
+                           (setf comp-file-preloaded-p ,comp-file-preloaded-p
+                                 native-compile-target-directory ,native-compile-target-directory
                                  native-comp-speed ,native-comp-speed
                                  native-comp-debug ,native-comp-debug
                                  native-comp-verbose ,native-comp-verbose