summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-05-05 17:18:07 +0200
committerAndrea Corallo <akrl@sdf.org>2021-05-05 22:27:29 +0200
commit40736357b8b811ffbe9023527db5c2a91a9c7a5a (patch)
treec30cbc0d96d541ebe451292959d9140c5480fc5d /lisp/emacs-lisp/comp.el
parente9baa733b8cac00e008cb834abc8712c8c00beed (diff)
downloademacs-40736357b8b811ffbe9023527db5c2a91a9c7a5a.tar.gz
emacs-40736357b8b811ffbe9023527db5c2a91a9c7a5a.tar.bz2
emacs-40736357b8b811ffbe9023527db5c2a91a9c7a5a.zip
Rename feature `nativecomp' into `native-compile'
* test/src/comp-tests.el : Rename feature `nativecomp' into `native-compile'. * test/lisp/help-fns-tests.el (help-fns-test-lisp-defun): Likewise. * src/comp.c (syms_of_comp): Likewise. * lisp/startup.el (normal-top-level): Likewise. * lisp/loadup.el: Likewise. * lisp/help.el (help-function-arglist): Likewise. * lisp/emacs-lisp/package.el (package--native-compile-async) (package--delete-directory): Likewise. * lisp/emacs-lisp/nadvice.el (advice--add-function): Likewise. * lisp/emacs-lisp/comp.el (comp-ensure-native-compiler): Likewise. * lisp/emacs-lisp/advice.el (ad-add-advice): Likewise.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 297c1f7ebca..f700faa38b3 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -938,7 +938,7 @@ In use by the back-end."
Signal an error otherwise.
To be used by all entry points."
(cond
- ((null (featurep 'nativecomp))
+ ((null (featurep 'native-compile))
(error "Emacs was not compiled with native compiler support (--with-native-compilation)"))
((null (native-comp-available-p))
(error "Cannot find libgccjit library"))))