]> git.eshelyaron.com Git - emacs.git/commit
Make CC Mode load cl-lib rather than cl in Emacs 26.
authorAlan Mackenzie <acm@muc.de>
Sun, 25 Jun 2017 13:55:50 +0000 (13:55 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 25 Jun 2017 13:55:50 +0000 (13:55 +0000)
commitb0042b7678c34396a18ad6c4277db7bb9e4bfaab
tree5a0068fc05a8dec95d2ec4f930983c614fdc82db
parent1886246f6f40b8c376467f71605141035959cae0
Make CC Mode load cl-lib rather than cl in Emacs 26.

* lisp/progmodes/cc-cmds.el (c-declaration-limits): Remove unused local
variable.

* lisp/progmodes/cc-defs.el (c--mapcan-status): Remove.
(c--cl-library): New variable.
(Top level): Amend the form which requires library cl or cl-lib.
(c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
(c--delete-duplicate): Amend to use c--cl-library instead of
c--mapcan-status.

* lisp/progmodes/cc-engine.el (c-syntactic-skip-backward)
(c-back-over-compound-identifier): Remove unused local variables.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove an unused
local variable.

* lisp/progmodes/cc-langs.el (Top level): Amend to use c--cl-library instead
of c--mapcan-status.

* lisp/progmodes/cc-styles.el (Top level): Add a cc-bytecomp-defun to try to
silence a compiler warning.
lisp/progmodes/cc-cmds.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el
lisp/progmodes/cc-styles.el