+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.
(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