summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-05-11 18:07:19 +0200
committerAndrea Corallo <akrl@sdf.org>2021-05-11 18:31:45 +0200
commit8bc91a6a3f6cc84f549d24467832f67b3130201d (patch)
tree6535766756ba83ede747e04ff8d68ff940d070c1 /lisp/emacs-lisp/comp.el
parentf84a385d79aaf406539cc4ce30c41642b64ed499 (diff)
downloademacs-8bc91a6a3f6cc84f549d24467832f67b3130201d.tar.gz
* Rename comp-deferred-compilation-deny-list
* 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.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 684b814292f..3e7f17ef1cc 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -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.