changeset 111289:7579acd0b490

Silence compilation of startup.el. * lisp/startup.el (package-enable-at-startup, package-initialize): Silence compiler.
author Glenn Morris <rgm@gnu.org>
date Sun, 31 Oct 2010 19:51:59 -0700
parents 6bc575569d37
children 33f46ffe4dad
files lisp/ChangeLog lisp/startup.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 31 19:38:33 2010 -0700
+++ b/lisp/ChangeLog	Sun Oct 31 19:51:59 2010 -0700
@@ -1,5 +1,8 @@
 2010-11-01  Glenn Morris  <rgm@gnu.org>
 
+	* startup.el (package-enable-at-startup, package-initialize):
+	Silence compiler.
+
 	* progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
 	Silence compiler.
 
--- a/lisp/startup.el	Sun Oct 31 19:38:33 2010 -0700
+++ b/lisp/startup.el	Sun Oct 31 19:51:59 2010 -0700
@@ -1,7 +1,7 @@
 ;;; startup.el --- process Emacs shell arguments
 
-;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-;;   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+;; Copyright (C) 1985, 1986, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
+;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 ;;   Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
@@ -691,6 +691,9 @@
 
 (defvar server-name)
 (defvar server-process)
+;; Autoload in package.el, but when we bootstrap, we don't have loaddefs yet.
+(defvar package-enable-at-startup)
+(declare-function package-initialize "package" ())
 
 (defun command-line ()
   (setq before-init-time (current-time)
@@ -2381,5 +2384,4 @@
       (setq file (replace-match "/" t t file)))
     file))
 
-;; arch-tag: 7e294698-244d-4758-984b-4047f887a5db
 ;;; startup.el ends here