]> git.eshelyaron.com Git - emacs.git/commitdiff
* Rename comp-deferred-compilation-deny-list
authorAndrea Corallo <akrl@sdf.org>
Tue, 11 May 2021 16:07:19 +0000 (18:07 +0200)
committerAndrea Corallo <akrl@sdf.org>
Tue, 11 May 2021 16:31:45 +0000 (18:31 +0200)
* lisp/emacs-lisp/comp.el (native-comp-deferred-compilation-deny-list)
(native-compile-async-skip-p): Rename
comp-deferred-compilation-deny-list ->
native-comp-deferred-compilation-deny-list.

lisp/emacs-lisp/comp.el

index 684b814292f4c2aa1684b78215406b4b6d77fc8d..3e7f17ef1ccc305f6153e0c560eb34f71a7582e8 100644 (file)
@@ -83,7 +83,7 @@ This is intended for debugging the compiler itself.
   :type 'boolean
   :version "28.1")
 
-(defcustom comp-deferred-compilation-deny-list
+(defcustom native-comp-deferred-compilation-deny-list
   '()
   "List of regexps to exclude matching files from deferred native compilation.
 Files whose names match any regexp are excluded from native compilation."
@@ -4044,11 +4044,11 @@ LOAD and SELECTOR work as described in `native--compile-async'."
        (t (error "SELECTOR must be a function a regexp or nil")))
       ;; Also exclude files from deferred compilation if
       ;; any of the regexps in
-      ;; `comp-deferred-compilation-deny-list' matches.
+      ;; `native-comp-deferred-compilation-deny-list' matches.
       (and (eq load 'late)
            (cl-some (lambda (re)
                       (string-match-p re file))
-                    comp-deferred-compilation-deny-list))))
+                    native-comp-deferred-compilation-deny-list))))
 
 (defun native--compile-async (files &optional recursively load selector)
   "Compile FILES asynchronously.