mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-01 02:31:23 -07:00
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.
This commit is contained in:
parent
34117dea77
commit
51df0ab6f6
2 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -337,7 +337,8 @@ the evaluated constant value at compile time."
|
|||
This includes setting \\=' and \" as string delimiters, and setting up
|
||||
the comment syntax to handle both line style \"//\" and block style
|
||||
\"/*\" \"*/\" comments."
|
||||
|
||||
;; Never native compile to allow cc-mode.el:467 hack.
|
||||
(declare (speed -1))
|
||||
(modify-syntax-entry ?_ "_" table)
|
||||
(modify-syntax-entry ?\\ "\\" table)
|
||||
(modify-syntax-entry ?+ "." table)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue