Fix absence of c-noise-macro-name-re, etc., in languages which don't use it
commit368b9bb45f125061506d43af4bd4791ab2cfd7b9
authorAlan Mackenzie <acm@muc.de>
Fri, 25 Mar 2016 18:25:08 +0000 (25 18:25 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 25 Mar 2016 18:25:08 +0000 (25 18:25 +0000)
tree1c1d8b1e6368aaea6509fd274d0c8f2929743cd1
parent7570b35740915626e94c6038e3203374ce4267b1
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.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-mode.el
lisp/progmodes/cc-vars.el