diff options
| author | Alan Mackenzie | 2010-12-12 12:24:56 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2010-12-12 12:24:56 +0000 |
| commit | 0e5cf2b8a5566f46cb6c8edcf3d7a6172f491e50 (patch) | |
| tree | 23d77ec714c9850c7749056ed1b63d5496bd4502 | |
| parent | acedf35ce08b9df4a0dcbcd1413e7d85f1182034 (diff) | |
| download | emacs-0e5cf2b8a5566f46cb6c8edcf3d7a6172f491e50.tar.gz emacs-0e5cf2b8a5566f46cb6c8edcf3d7a6172f491e50.zip | |
(c-forward-type): Before scanning a template arglist, check that the
current language supports this.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1659f610f7e..dd1b4a400ee 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-12 Alan Mackenzie <acm@muc.de> | ||
| 2 | |||
| 3 | * progmodes/cc-engine.el (c-forward-type): Before scanning a | ||
| 4 | template arglist, check that the current language supports this. | ||
| 5 | |||
| 1 | 2010-12-11 Glenn Morris <rgm@gnu.org> | 6 | 2010-12-11 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable | 8 | * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 18010407eda..c9e162c91b9 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -5846,7 +5846,8 @@ comment at the start of cc-engine.el for more info." | |||
| 5846 | ;; `c-record-type-identifiers' is non-nil. | 5846 | ;; `c-record-type-identifiers' is non-nil. |
| 5847 | ;; | 5847 | ;; |
| 5848 | ;; This function might do hidden buffer changes. | 5848 | ;; This function might do hidden buffer changes. |
| 5849 | (when (looking-at "<") | 5849 | (when (and c-recognize-<>-arglists |
| 5850 | (looking-at "<")) | ||
| 5850 | (c-forward-<>-arglist t) | 5851 | (c-forward-<>-arglist t) |
| 5851 | (c-forward-syntactic-ws)) | 5852 | (c-forward-syntactic-ws)) |
| 5852 | 5853 | ||