Mercurial > emacs
diff lisp/progmodes/cc-engine.el @ 111882:2f32e957c8ff
(c-forward-type): Before scanning a template arglist, check that the
current language supports this.
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Sun, 12 Dec 2010 12:24:56 +0000 |
parents | fb9b207b7488 |
children | 417b1e4d63cd |
line wrap: on
line diff
--- a/lisp/progmodes/cc-engine.el Sat Dec 11 17:44:32 2010 +0100 +++ b/lisp/progmodes/cc-engine.el Sun Dec 12 12:24:56 2010 +0000 @@ -5846,7 +5846,8 @@ ;; `c-record-type-identifiers' is non-nil. ;; ;; This function might do hidden buffer changes. - (when (looking-at "<") + (when (and c-recognize-<>-arglists + (looking-at "<")) (c-forward-<>-arglist t) (c-forward-syntactic-ws))