mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Use match-string-no-properties instead in c-defun-name
for consistency.
This commit is contained in:
parent
3646bcd6b8
commit
2c73e345cc
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-07-21 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* progmodes/cc-cmds.el (c-defun-name): Use
|
||||
match-string-no-properties instead for consistency.
|
||||
|
||||
2012-07-20 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
|
||||
|
|
|
|||
|
|
@ -1832,9 +1832,9 @@ with a brace block."
|
|||
(kw-re (concat "\\(?:" c-symbol-key "\\)?:"))
|
||||
(stretches))
|
||||
(when (c-syntactic-re-search-forward c-symbol-key bound t t t)
|
||||
(push (match-string 0) stretches)
|
||||
(push (match-string-no-properties 0) stretches)
|
||||
(while (c-syntactic-re-search-forward kw-re bound t t t)
|
||||
(push (match-string 0) stretches)))
|
||||
(push (match-string-no-properties 0) stretches)))
|
||||
(apply 'concat (nreverse stretches))))
|
||||
|
||||
(t
|
||||
|
|
|
|||
Loading…
Reference in a new issue