aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorLeo Liu2012-07-21 09:41:48 +0800
committerLeo Liu2012-07-21 09:41:48 +0800
commit2c73e345cc666982dbcb9d73e4fdd5a3348d19bc (patch)
tree44606488ac39afff067e68c224f4171e3b6b2336 /lisp/progmodes
parent3646bcd6b8d321bbcf08bf8204ad92bdd3f1f0da (diff)
downloademacs-2c73e345cc666982dbcb9d73e4fdd5a3348d19bc.tar.gz
emacs-2c73e345cc666982dbcb9d73e4fdd5a3348d19bc.zip
Use match-string-no-properties instead in c-defun-name
for consistency.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-cmds.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index 3ec7386ece0..daa2e455c28 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1832,9 +1832,9 @@ with a brace block."
1832 (kw-re (concat "\\(?:" c-symbol-key "\\)?:")) 1832 (kw-re (concat "\\(?:" c-symbol-key "\\)?:"))
1833 (stretches)) 1833 (stretches))
1834 (when (c-syntactic-re-search-forward c-symbol-key bound t t t) 1834 (when (c-syntactic-re-search-forward c-symbol-key bound t t t)
1835 (push (match-string 0) stretches) 1835 (push (match-string-no-properties 0) stretches)
1836 (while (c-syntactic-re-search-forward kw-re bound t t t) 1836 (while (c-syntactic-re-search-forward kw-re bound t t t)
1837 (push (match-string 0) stretches))) 1837 (push (match-string-no-properties 0) stretches)))
1838 (apply 'concat (nreverse stretches)))) 1838 (apply 'concat (nreverse stretches))))
1839 1839
1840 (t 1840 (t