CC Mode: eliminate almost all byte compilation warnings
commit7233767e3c7362b36828e5e6f68d45a411a9e3a1
authorAlan Mackenzie <acm@muc.de>
Tue, 24 Nov 2015 19:44:34 +0000 (24 19:44 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 24 Nov 2015 19:44:34 +0000 (24 19:44 +0000)
treeed9613ea1f1216ffd26a41dbf8a60663429c3801
parent33ec2ff0f8b77f3c10af395d3e8979508cd78c0a
CC Mode: eliminate almost all byte compilation warnings

* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
(cc-require): Remove the crude hack that saved and restored
byte-compile-noruntime-functions.
(cc-conditional-require, cc-conditional-require-after-load): New macros.

* lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
cc-fix.el using the new macros in cc-bytecomp.el.

* lisp/progmodes/cc-langs.el (c++-template-syntax-table)
(c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
forms to remove the superflous quotes.
lisp/progmodes/cc-bytecomp.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-langs.el