Fix byte compilation warning.

The command ‘google-make-newline-indent’ uses ‘c-mode-base-map’, which is
defined in ‘cc-mode’, so we should ‘require’ that library.
This commit is contained in:
Philipp Stephani 2022-02-18 13:07:13 +01:00
parent af78b49ac4
commit 1e48900312

View File

@ -30,6 +30,7 @@
;; For some reason 1) c-backward-syntactic-ws is a macro and 2) under Emacs 22 ;; For some reason 1) c-backward-syntactic-ws is a macro and 2) under Emacs 22
;; bytecode cannot call (unexpanded) macros at run time: ;; bytecode cannot call (unexpanded) macros at run time:
(eval-when-compile (require 'cc-defs)) (eval-when-compile (require 'cc-defs))
(require 'cc-mode)
;; Wrapper function needed for Emacs 21 and XEmacs (Emacs 22 offers the more ;; Wrapper function needed for Emacs 21 and XEmacs (Emacs 22 offers the more
;; elegant solution of composing a list of lineup functions or quantities with ;; elegant solution of composing a list of lineup functions or quantities with