]> git.eshelyaron.com Git - emacs.git/commit
Fix - typing on a C++ inher-intro or inher-cont line should preserve the
authorAlan Mackenzie <acm@muc.de>
Sun, 28 Aug 2011 11:42:33 +0000 (11:42 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 28 Aug 2011 11:42:33 +0000 (11:42 +0000)
commitef8cdf8c2abe4c25f9f71fd7ccb409a61d18aa90
treef1ea5b0a1d2df0e9cf926a82a09d089c54eb8dec
parentd6b9407c0c01fa68694f304b1422a790a805bfb2
Fix - typing on a C++ inher-intro or inher-cont line should preserve the
fontification of the inherited class names.  Analogously for namespace
names and Java import, extends, etc.

(cc-fonts.el): (c-make-font-lock-BO-decl-search-function): New function.
(c-basic-matchers-after - "Fontify the clauses after various keywords"):
Extract the three keyword lists for the 3 erroneous constructs from the
list of four, and use the new function above in place of an old one.
lisp/ChangeLog
lisp/progmodes/cc-fonts.el