summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2019-12-24 20:38:13 +0100
committerAndrea Corallo <akrl@sdf.org>2020-01-01 11:38:16 +0100
commite678021f0c3db705c91831cff466561fd73c3040 (patch)
tree44cd51701693aa0278d2d29dd2646abc9d4decf1 /lisp/emacs-lisp
parentef59b67e4657fa80d1528b9d476c67f01abecc35 (diff)
downloademacs-e678021f0c3db705c91831cff466561fd73c3040.tar.gz
emacs-e678021f0c3db705c91831cff466561fd73c3040.tar.bz2
emacs-e678021f0c3db705c91831cff466561fd73c3040.zip
add batch-native-compile
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el5
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.