diff options
author | Andrea Corallo <akrl@sdf.org> | 2019-12-24 20:38:13 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-01-01 11:38:16 +0100 |
commit | e678021f0c3db705c91831cff466561fd73c3040 (patch) | |
tree | 44cd51701693aa0278d2d29dd2646abc9d4decf1 /lisp/emacs-lisp/comp.el | |
parent | ef59b67e4657fa80d1528b9d476c67f01abecc35 (diff) | |
download | emacs-e678021f0c3db705c91831cff466561fd73c3040.tar.gz emacs-e678021f0c3db705c91831cff466561fd73c3040.tar.bz2 emacs-e678021f0c3db705c91831cff466561fd73c3040.zip |
add batch-native-compile
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 6b9965b8200..983ba0e0ba1 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -1887,6 +1887,11 @@ Return the compilation unit file name." data)) ;;;###autoload +(defun batch-native-compile () + "Ultra cheap impersonation of `batch-byte-compile'." + (mapc #'native-compile command-line-args-left)) + +;;;###autoload (defun native-compile-async (input &optional jobs recursively) "Compile INPUT asynchronously. INPUT can be either a list of files a folder or a file. |