diff options
| author | Kenichi Handa | 2013-04-05 23:17:55 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2013-04-05 23:17:55 +0900 |
| commit | b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f (patch) | |
| tree | f32c8cce416e346d2953f063a0f22e95382cf57e /lisp/cedet/srecode/cpp.el | |
| parent | 251e91474c91e16b101502c2ed7c05fc13e4ecea (diff) | |
| parent | 73931ad14ad7a51d91f10b19ae9ca8cadb256916 (diff) | |
| download | emacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.tar.gz emacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.zip | |
merge trunk
Diffstat (limited to 'lisp/cedet/srecode/cpp.el')
| -rw-r--r-- | lisp/cedet/srecode/cpp.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/cedet/srecode/cpp.el b/lisp/cedet/srecode/cpp.el index 94b394a1631..fd500b6d9a3 100644 --- a/lisp/cedet/srecode/cpp.el +++ b/lisp/cedet/srecode/cpp.el | |||
| @@ -70,8 +70,7 @@ HEADER - Shown section if in a header file." | |||
| 70 | (srecode-dictionary-show-section dict "NOTHEADER")) | 70 | (srecode-dictionary-show-section dict "NOTHEADER")) |
| 71 | 71 | ||
| 72 | ;; Strip out bad characters | 72 | ;; Strip out bad characters |
| 73 | (while (string-match "\\.\\| " fsym) | 73 | (setq fsym (replace-regexp-in-string "[^a-zA-Z0-9_]" "_" fsym)) |
| 74 | (setq fsym (replace-match "_" t t fsym))) | ||
| 75 | (srecode-dictionary-set-value dict "FILENAME_SYMBOL" fsym) | 74 | (srecode-dictionary-set-value dict "FILENAME_SYMBOL" fsym) |
| 76 | ) | 75 | ) |
| 77 | ) | 76 | ) |