]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Optimize c-fontify-new-found-type and amend a debug spec
authorAlan Mackenzie <acm@muc.de>
Tue, 4 Oct 2022 16:19:33 +0000 (16:19 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 4 Oct 2022 16:19:33 +0000 (16:19 +0000)
commit4bd8ad2bc5cce8024f1bdecdf6b553e3d43a2f4c
tree72f55327a76efe4bc34b18d409acb71c6afc4347
parenta36ecc408a30c76d287351b38956f998f84cb8a7
CC Mode: Optimize c-fontify-new-found-type and amend a debug spec

* lisp/progmodes/cc-fonts.el (c-fontify-new-found-type): Write the `face'
property directly, rather than removing `fontified' properties and letting
font-lock do the work.

* lisp/progmodes/cc-defs.el (cc-eval-when-compile): Amend the debug spec from
t to (&rest body), in line with the fix to bug #16184.
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-fonts.el