From: Andrea Corallo Date: Sun, 25 Oct 2020 19:31:39 +0000 (+0000) Subject: * Fix a function for native compilation in cc-bytecomp.el X-Git-Tag: emacs-28.0.90~2727^2~355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=096c78523d849a75847152dff7458e883d668cb8;p=emacs.git * Fix a function for native compilation in cc-bytecomp.el * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading): Update for native compilation. --- diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el index ad884288a6d..7798b49f398 100644 --- a/lisp/progmodes/cc-bytecomp.el +++ b/lisp/progmodes/cc-bytecomp.el @@ -110,14 +110,15 @@ (memq (cadr elt) '(load require byte-compile-file byte-recompile-directory - batch-byte-compile))))) + batch-byte-compile batch-native-compile))))) (setq n (1+ n))) (cond ((memq (cadr elt) '(load require)) 'loading) ((memq (cadr elt) '(byte-compile-file byte-recompile-directory - batch-byte-compile)) + batch-byte-compile + batch-native-compile)) 'compiling) (t ; Can't happen. (message "cc-bytecomp-compiling-or-loading: System flags spuriously set")