diff options
author | Alan Mackenzie <acm@muc.de> | 2016-03-25 18:25:08 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-03-25 18:25:08 +0000 |
commit | 368b9bb45f125061506d43af4bd4791ab2cfd7b9 (patch) | |
tree | 1c1d8b1e6368aaea6509fd274d0c8f2929743cd1 /test/lisp/emacs-lisp | |
parent | 7570b35740915626e94c6038e3203374ce4267b1 (diff) | |
download | emacs-368b9bb45f125061506d43af4bd4791ab2cfd7b9.tar.gz emacs-368b9bb45f125061506d43af4bd4791ab2cfd7b9.tar.bz2 emacs-368b9bb45f125061506d43af4bd4791ab2cfd7b9.zip |
Fix absence of c-noise-macro-name-re, etc., in languages which don't use it
* lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id, c-forward-type)
(c-forward-declarator, c-forward-decl-or-cast-1, c-backward-over-enum-header)
(c-guess-basic-syntax): Check c-opt-cpp-prefix before `looking-at'
c-noise-macro-with-parens-name-re.
* lisp/progmodes/cc-fonts.el (c-complex-decl-matchers): The same as for
cc-engine.el.
* lisp/progmodes/cc-mode.el (c-basic-common-init): Add call to
`c-make-noise-macro-regexps'.
(c-mode, c++-mode, objc-mode): Remove calls to `c-make-noise-macro-regexps'.
* lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
(c-noise-macro-with-re): Initialize to "\\<\\>" rather than nil.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions