summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-cmds.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cc-cmds.el')
-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."
(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