diff options
author | Alan Mackenzie <[email protected]> | 2012-01-08 12:49:44 +0000 |
---|---|---|
committer | Alan Mackenzie <[email protected]> | 2012-01-08 12:49:44 +0000 |
commit | 9d5a8f0b3c3fe959d307d5b2f106943aa970c59b (patch) | |
tree | 58dae3227ceb01520126cfcc9c89343cf726347c /lisp/ChangeLog | |
parent | 1355012ad77702dc780a378b7e6819d99d076886 (diff) |
Optimise font locking in long enum definitions.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r-- | lisp/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9e490a1e36..ab8572b7f9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,12 @@ +2012-01-08 Alan Mackenzie <[email protected]> + + Optimise font locking in long enum definitions. + + * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra + arm to a cond form to handle enums. + * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable. + * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo. + 2012-01-07 Paul Eggert <[email protected]> * files.el (move-file-to-trash): Preserve default file modes on error. |