mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
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:
parent
af78b49ac4
commit
1e48900312
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user