From: Alan Mackenzie Date: Sat, 27 Jul 2013 17:35:04 +0000 (+0000) Subject: Fontify a Java generic method as a function. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1698^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5950f7afe5c62af0ba7dd834419a533c7215b3d;p=emacs.git Fontify a Java generic method as a function. * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java value to t. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9dec56b78e8..a0680662e53 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-07-27 Alan Mackenzie + + Fontify a Java generic method as a function. + * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java + value to t. + 2013-07-27 Stephen Berman * calendar/todo-mode.el: Add command to rename todo files. diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 4e488344e16..2c0a1317b04 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -2950,7 +2950,8 @@ identifier or one of the keywords on `c-<>-type-kwds' or `c-<>-arglist-kwds'. If there's an identifier before then the whole expression is considered to be a type." t (or (consp (c-lang-const c-<>-type-kwds)) - (consp (c-lang-const c-<>-arglist-kwds)))) + (consp (c-lang-const c-<>-arglist-kwds))) + java t) (c-lang-defvar c-recognize-<>-arglists (c-lang-const c-recognize-<>-arglists)) (c-lang-defconst c-enums-contain-decls