From d6d236e233ce5ae585786443b6ff38d45c355c51 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 30 May 2013 19:18:39 -0400 Subject: [PATCH] * lisp/progmodes/cc-mode.el: Move load of cc-vars before that of cc-langs (which in turn loads cc-vars), to quieten compiler. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cc-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f4ec42d8237..1803eb0f0f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-30 Glenn Morris + + * progmodes/cc-mode.el: Move load of cc-vars before that of + cc-langs (which in turn loads cc-vars), to quieten compiler. + 2013-05-30 Stefan Monnier * paren.el: Simplify the code. diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index 064f62fc746..ca8c5096b09 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -86,8 +86,8 @@ (load "cc-bytecomp" nil t))) (cc-require 'cc-defs) -(cc-require-when-compile 'cc-langs) (cc-require 'cc-vars) +(cc-require-when-compile 'cc-langs) (cc-require 'cc-engine) (cc-require 'cc-styles) (cc-require 'cc-cmds) -- 2.39.2