diff options
| author | Leo Liu | 2012-07-20 19:36:41 +0800 |
|---|---|---|
| committer | Leo Liu | 2012-07-20 19:36:41 +0800 |
| commit | 542dfbde7049873d438079fd6835c8b4a46ebd80 (patch) | |
| tree | c4638d020d87fb59ebb538e28bea744cb2b48938 | |
| parent | 23dc774492e25ee2191ffa4ee966216649dddbc1 (diff) | |
| download | emacs-542dfbde7049873d438079fd6835c8b4a46ebd80.tar.gz emacs-542dfbde7049873d438079fd6835c8b4a46ebd80.zip | |
* progmodes/cc-langs.el (c-symbol-start): Include char _.
Fixes: debbugs:11986
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/cc-langs.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0790df5c25a..87df9b17349 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-07-20 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986). | ||
| 4 | |||
| 1 | 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package. | 7 | * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package. |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 493f3db0961..78be8ac2cc4 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -578,7 +578,7 @@ keyword. It's unspecified how far it matches. Does not contain a \\| | |||
| 578 | operator at the top level." | 578 | operator at the top level." |
| 579 | t (concat "[" c-alpha "_]") | 579 | t (concat "[" c-alpha "_]") |
| 580 | java (concat "[" c-alpha "_@]") | 580 | java (concat "[" c-alpha "_@]") |
| 581 | objc (concat "[" c-alpha "@]") | 581 | objc (concat "[" c-alpha "_@]") |
| 582 | pike (concat "[" c-alpha "_`]")) | 582 | pike (concat "[" c-alpha "_`]")) |
| 583 | (c-lang-defvar c-symbol-start (c-lang-const c-symbol-start)) | 583 | (c-lang-defvar c-symbol-start (c-lang-const c-symbol-start)) |
| 584 | 584 | ||