diff options
author | Alan Mackenzie <acm@muc.de> | 2022-11-08 11:53:37 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-11-08 11:53:37 +0000 |
commit | b8134a7eba2e0334925e011e953044ea33408ec6 (patch) | |
tree | 42fc60a396fd86d9d57e712933db2650666b8064 /lisp/emacs-lisp/range.el | |
parent | 68e2a9cd92996dd55ff9599dc1bf99c70070cddb (diff) | |
download | emacs-b8134a7eba2e0334925e011e953044ea33408ec6.tar.gz emacs-b8134a7eba2e0334925e011e953044ea33408ec6.tar.bz2 emacs-b8134a7eba2e0334925e011e953044ea33408ec6.zip |
CC Mode: Stabilize the fontification in the presence of "register" keywords
This fixes bug #58883.
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): New variable
unsafe-maybe. Set it in CASE 10 rather than setting c-record-type-identifiers
to nil. Near the end of the function, when unsafe-maybe is set, bind
c-promote-possible-types to 'just-one rather than t around the call to
c-forward-type.
Diffstat (limited to 'lisp/emacs-lisp/range.el')
0 files changed, 0 insertions, 0 deletions