Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-list

* lisp/emacs-lisp/comp.el (native-comp-bootstrap-deny-list)
(batch-native-compile): Rename comp-bootstrap-deny-list →
native-comp-bootstrap-deny-list.
This commit is contained in:
Andrea Corallo 2021-05-06 10:19:35 +02:00
parent 6595295078
commit 85b61c0c58

View file

@ -90,7 +90,7 @@ Files whose names match any regexp are excluded from native compilation."
:type '(repeat regexp) :type '(repeat regexp)
:version "28.1") :version "28.1")
(defcustom comp-bootstrap-deny-list (defcustom native-comp-bootstrap-deny-list
'() '()
"List of regexps to exclude files from native compilation during bootstrap. "List of regexps to exclude files from native compilation during bootstrap.
Files whose names match any regexp are excluded from native compilation Files whose names match any regexp are excluded from native compilation
@ -4159,7 +4159,7 @@ Native compilation equivalent to `batch-byte-compile'."
(cl-loop for file in command-line-args-left (cl-loop for file in command-line-args-left
if (or (null byte-native-for-bootstrap) if (or (null byte-native-for-bootstrap)
(cl-notany (lambda (re) (string-match re file)) (cl-notany (lambda (re) (string-match re file))
comp-bootstrap-deny-list)) native-comp-bootstrap-deny-list))
do (comp--native-compile file) do (comp--native-compile file)
else else
do (byte-compile-file file))) do (byte-compile-file file)))