]> git.eshelyaron.com Git - emacs.git/commit
Java Mode: Fontify identifiers in the presence of annotations.
authorAlan Mackenzie <acm@muc.de>
Mon, 11 Jan 2016 17:46:04 +0000 (17:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 11 Jan 2016 17:46:04 +0000 (17:46 +0000)
commitb51f1ef82fa324f08fe94b8fa8aaf8b8ebb3a48e
tree253448dd0f5f0538beb8ec1d88210ca5c3604fad
parent36b953947ee2ee0411139bd4ad7dcffdcc403036
Java Mode: Fontify identifiers in the presence of annotations.

* lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
Don't move point when the defun fails.
(c-forward-decl-or-cast-1): Correct a usage of match data.

* lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
(c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
removed variable.

* lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el