• Alan Mackenzie's avatar
    Fix absence of c-noise-macro-name-re, etc., in languages which don't use it · 368b9bb4
    Alan Mackenzie authored
    * 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.
    368b9bb4
cc-vars.el 75 KB