X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=cc-ide%2Fcc-ide.el;fp=cc-ide%2Fcc-ide.el;h=d17416494a0d0125f365b23e196738dab87a077b;hb=64d8a4e29ccaceaf5a585ad6eb69f28f83e62787;hp=32efd696ca2159115f465a24923d3a79c3506f9b;hpb=c8a4ae09764851c863e8c0118544e819d4ad88bc;p=emacsstuff.git diff --git a/cc-ide/cc-ide.el b/cc-ide/cc-ide.el index 32efd69..d174164 100644 --- a/cc-ide/cc-ide.el +++ b/cc-ide/cc-ide.el @@ -1003,7 +1003,7 @@ declaration at the top of the kill ring." (save-excursion (goto-char (point-min)) (let ((re (concat (if (eq (char-syntax (aref name 0)) ?w) "\\<" "") - name + (regexp-quote name) (if (eq (char-syntax (aref name (1- (length name)))) ?w) "\\>" ""))) fallback rv check-state) (while (and (not rv) (re-search-forward re nil t))