]> git.eshelyaron.com Git - emacs.git/commitdiff
* Rename comp-async-query-on-exit → native-comp-async-query-on-exit
authorAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 12:55:30 +0000 (14:55 +0200)
committerAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 15:16:08 +0000 (17:16 +0200)
* lisp/emacs-lisp/comp.el (native-comp-async-query-on-exit)
(comp-run-async-workers): Rename comp-async-query-on-exit →
native-comp-async-query-on-exit.

lisp/emacs-lisp/comp.el

index 908a71846ae21e3e7d9e96e435208466db4ffd82..8a1f26be1fbecbafed15d20d1e3c40fe16e94e04 100644 (file)
@@ -152,7 +152,7 @@ Set this variable to nil if these warnings annoy you."
   :type 'boolean
   :version "28.1")
 
-(defcustom comp-async-query-on-exit nil
+(defcustom native-comp-async-query-on-exit nil
   "Whether to query the user about killing async compilations when exiting.
 If this is non-nil, Emacs will ask for confirmation to exit and kill the
 asynchronous native compilations if any are running.  If nil, when you
@@ -3953,7 +3953,7 @@ display a message."
                                    (native-elisp-load eln-file
                                                       (eq load1 'late))))
                                (comp-run-async-workers))
-                             :noquery (not comp-async-query-on-exit))))
+                             :noquery (not native-comp-async-query-on-exit))))
               (puthash source-file process comp-async-compilations))
          when (>= (comp-async-runnings) (comp-effective-async-max-jobs))
            do (cl-return)))