diff options
| author | Daniel Colascione | 2011-04-24 17:20:47 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2011-04-24 17:20:47 -0700 |
| commit | 320f861c694fd7b25a0f477a83e90b8aaa856151 (patch) | |
| tree | a57e5452f8272e8530a079dc4665b3cd6d753037 | |
| parent | be71f8100a71a5b896ef05c32f51a09a3d9e3993 (diff) | |
| download | emacs-320f861c694fd7b25a0f477a83e90b8aaa856151.tar.gz emacs-320f861c694fd7b25a0f477a83e90b8aaa856151.zip | |
Use correct match group (bug#8438).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8ff0625068d..898b281ed2e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-04-24 Daniel Colascione <dan.colascione@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use | ||
| 4 | correct match group (bug#8438). | ||
| 5 | |||
| 1 | 2011-04-22 Juanma Barranquero <lekktu@gmail.com> | 6 | 2011-04-22 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535). | 8 | * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535). |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index f96cd1b5c93..a53dd61c81e 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -5439,7 +5439,7 @@ comment at the start of cc-engine.el for more info." | |||
| 5439 | ;; `c-font-lock-declarators'.) | 5439 | ;; `c-font-lock-declarators'.) |
| 5440 | (while (and (looking-at c-type-decl-prefix-key) | 5440 | (while (and (looking-at c-type-decl-prefix-key) |
| 5441 | (if (and (c-major-mode-is 'c++-mode) | 5441 | (if (and (c-major-mode-is 'c++-mode) |
| 5442 | (match-beginning 2)) | 5442 | (match-beginning 3)) |
| 5443 | ;; If the second submatch matches in C++ then | 5443 | ;; If the second submatch matches in C++ then |
| 5444 | ;; we're looking at an identifier that's a | 5444 | ;; we're looking at an identifier that's a |
| 5445 | ;; prefix only if it specifies a member pointer. | 5445 | ;; prefix only if it specifies a member pointer. |