]> git.eshelyaron.com Git - emacs.git/commit
Provide feature nativecomp and make use of it
authorAndrea Corallo <akrl@sdf.org>
Sat, 10 Oct 2020 16:18:09 +0000 (18:18 +0200)
committerAndrea Corallo <akrl@sdf.org>
Sat, 10 Oct 2020 16:47:45 +0000 (18:47 +0200)
commit8b135af5bbdfb6cf561f92a02ef92e855acc04dd
treee6b4039137f54f29b2dbd853fcc63aa7a88c1842
parent77fa6befb478f49a47ef1cee88e2c791e0037617
Provide feature nativecomp and make use of it

* lisp/emacs-lisp/comp.el (comp-ensure-native-compiler): Use
`featurep' to identify if the native compiler is available.
* lisp/emacs-lisp/nadvice.el (advice--add-function): Likewise.
* lisp/emacs-lisp/package.el (package--delete-directory): Likewise.
* lisp/loadup.el: Likewise.
* src/comp.c (syms_of_comp): Provide feature nativecomp.
lisp/emacs-lisp/comp.el
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/package.el
lisp/loadup.el
src/comp.c