changeset 92716:95741880e710

(top-level): Load cal-loaddefs when compiling.
author Glenn Morris <rgm@gnu.org>
date Tue, 11 Mar 2008 02:57:21 +0000
parents aa52fda2a68b
children fec088bf4a02
files lisp/calendar/calendar.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Tue Mar 11 02:00:08 2008 +0000
+++ b/lisp/calendar/calendar.el	Tue Mar 11 02:57:21 2008 +0000
@@ -93,8 +93,11 @@
 
 ;;; Code:
 
+;; (elisp) Eval During Compile: "Effectively `require' is
+;; automatically `eval-and-compile'" [but `load' is not]
+(eval-and-compile
+  (load "cal-loaddefs" nil 'quiet))
 
-(load "cal-loaddefs" nil 'quiet)
 (require 'cal-menu)