1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00

(c-forward-type): Before scanning a template arglist, check that the

current language supports this.
This commit is contained in:
Alan Mackenzie 2010-12-12 12:24:56 +00:00
parent acedf35ce0
commit 0e5cf2b8a5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-12-12 Alan Mackenzie <acm@muc.de>
* progmodes/cc-engine.el (c-forward-type): Before scanning a
template arglist, check that the current language supports this.
2010-12-11 Glenn Morris <rgm@gnu.org>
* vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable

View File

@ -5846,7 +5846,8 @@ comment at the start of cc-engine.el for more info."
;; `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))