diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-10-25 19:31:39 +0000 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-10-25 19:31:39 +0000 |
commit | 096c78523d849a75847152dff7458e883d668cb8 (patch) | |
tree | f0ef0cf60d88378d5209fd1361537c82208bd52a /lisp/progmodes/cc-bytecomp.el | |
parent | ac143165ccf31f4c0b18947e92cb6cb18ae67323 (diff) | |
download | emacs-096c78523d849a75847152dff7458e883d668cb8.tar.gz emacs-096c78523d849a75847152dff7458e883d668cb8.tar.bz2 emacs-096c78523d849a75847152dff7458e883d668cb8.zip |
* Fix a function for native compilation in cc-bytecomp.el
* lisp/progmodes/cc-bytecomp.el
(cc-bytecomp-compiling-or-loading): Update for native compilation.
Diffstat (limited to 'lisp/progmodes/cc-bytecomp.el')
-rw-r--r-- | lisp/progmodes/cc-bytecomp.el | 5 |
1 files 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") |