summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-langs.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2013-07-27 17:35:04 +0000
committerAlan Mackenzie <acm@muc.de>2013-07-27 17:35:04 +0000
commitf5950f7afe5c62af0ba7dd834419a533c7215b3d (patch)
treea5a9cb005148001d1ad7456bf7247a19466761ab /lisp/progmodes/cc-langs.el
parentae43b66aba93d11b6dde84209154169d54c97aae (diff)
downloademacs-f5950f7afe5c62af0ba7dd834419a533c7215b3d.tar.gz
Fontify a Java generic method as a function.
* progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java value to t.
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
-rw-r--r--lisp/progmodes/cc-langs.el3
1 files changed, 2 insertions, 1 deletions
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