]> git.eshelyaron.com Git - emacs.git/commitdiff
add batch-native-compile
authorAndrea Corallo <akrl@sdf.org>
Tue, 24 Dec 2019 19:38:13 +0000 (20:38 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:16 +0000 (11:38 +0100)
lisp/emacs-lisp/comp.el

index 6b9965b82006837e2140e308d5051a49e7c5e9e1..983ba0e0ba13eb12f981f3e3ba00e29d19a65df1 100644 (file)
@@ -1886,6 +1886,11 @@ Return the compilation unit file name."
                              (list input err-val))))))
     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.