From 096c78523d849a75847152dff7458e883d668cb8 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 25 Oct 2020 19:31:39 +0000 Subject: [PATCH] * Fix a function for native compilation in cc-bytecomp.el * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading): Update for native compilation. --- lisp/progmodes/cc-bytecomp.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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") -- 2.39.5