]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: partially revert commit from 2022-10-04
authorAlan Mackenzie <acm@muc.de>
Tue, 10 Jan 2023 20:29:37 +0000 (20:29 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 10 Jan 2023 20:29:37 +0000 (20:29 +0000)
commit1cbc22b9c7f836f5b3311213dca8afa853513442
tree979c063c8627718915eb55af8785cc062c720e8e
parent136c0272215e167fe1cc4fc713c814c6c6cd8d7d
CC Mode: partially revert commit from 2022-10-04

This reversion is of an ill-advised optimization, which resulted in non-type
identifiers getting fontified as types.

* lisp/progmodes/cc-fonts.el (c-fontify-new-found-type): Rather than writing
the expected face directly to the text, instead remove the `fontified'
property.  This allows the full font-lock mechanism to fontify the buffer
correctly.
lisp/progmodes/cc-fonts.el