From 1e4890031261a730225618b1fd2bdce6e05f4cd9 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Fri, 18 Feb 2022 13:07:13 +0100 Subject: [PATCH] Fix byte compilation warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The command ‘google-make-newline-indent’ uses ‘c-mode-base-map’, which is defined in ‘cc-mode’, so we should ‘require’ that library. --- google-c-style.el | 1 + 1 file changed, 1 insertion(+) diff --git a/google-c-style.el b/google-c-style.el index 06a44e975..1c9fb8973 100644 --- a/google-c-style.el +++ b/google-c-style.el @@ -30,6 +30,7 @@ ;; For some reason 1) c-backward-syntactic-ws is a macro and 2) under Emacs 22 ;; bytecode cannot call (unexpanded) macros at run time: (eval-when-compile (require 'cc-defs)) +(require 'cc-mode) ;; 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