diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-06-17 22:17:57 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-06-22 00:12:32 +0200 |
commit | 51df0ab6f6dc8085be6140fa9b87e4a124ce5ad9 (patch) | |
tree | e86f9c7dbbea8f72b1231c26a1442502ed1fe3c6 /lisp/progmodes/cc-bytecomp.el | |
parent | 34117dea7736012114e5c20fcf9f328e0658f8b3 (diff) | |
download | emacs-51df0ab6f6dc8085be6140fa9b87e4a124ce5ad9.tar.gz |
Do not native compile two functions to allow cc-mode hack
* lisp/progmodes/cc-langs.el (c-populate-syntax-table): Declare
with speed -1.
* lisp/progmodes/cc-bytecomp.el
(cc-bytecomp-compiling-or-loading): Declare with speed -1.
Diffstat (limited to 'lisp/progmodes/cc-bytecomp.el')
-rw-r--r-- | lisp/progmodes/cc-bytecomp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el index 959261c9eb6..5eb8af25343 100644 --- a/lisp/progmodes/cc-bytecomp.el +++ b/lisp/progmodes/cc-bytecomp.el @@ -97,6 +97,8 @@ ;; compilation can trigger loading (various `require' type forms) ;; and loading can trigger compilation (the package manager does ;; this). We walk the lisp stack if necessary. + ;; Never native compile to allow cc-defs.el:2345 hack. + (declare (speed -1)) (cond ((and load-in-progress (boundp 'byte-compile-dest-file) |