Fix indentation/fontification of Java enum with "implements"/generic.
authorAlan Mackenzie <acm@muc.de>
Sun, 13 Oct 2013 19:54:46 +0000 (19:54 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 13 Oct 2013 19:54:46 +0000 (19:54 +0000)
commit7a068717166757eacc702cb499dc803be0645211
tree4d145c8eb55a32c77373ba88d5a9e292e298b489
parent3ccc2d283e149f838b00bde2f841cc70316ecc74
Fix indentation/fontification of Java enum with "implements"/generic.

* progmodes/cc-engine.el (c-backward-over-enum-header): Extracted from
the three other places and enhanced to handle generics.
(c-inside-bracelist-p): Uses new function above.
* progmodes/cc-fonts.el (c-font-lock-declarations): Uses new function
above.
(c-font-lock-enum-tail): Uses new function above.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el