changeset 93714:6b2af597432a

Require loaddef file rather than loading it.
author Glenn Morris <rgm@gnu.org>
date Sat, 05 Apr 2008 18:54:46 +0000
parents ee195aa26157
children ee9df91aaacb
files lisp/calendar/calendar.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Sat Apr 05 18:53:41 2008 +0000
+++ b/lisp/calendar/calendar.el	Sat Apr 05 18:54:46 2008 +0000
@@ -116,12 +116,9 @@
 
 ;;; Code:
 
-;; (elisp) Eval During Compile: "Effectively `require' is
-;; automatically `eval-and-compile'" [but `load' is not]
-(eval-and-compile
-  (load "cal-loaddefs" nil 'quiet))
+(require 'cal-loaddefs)
 
-;; Avoid recursive load of calendar when loading cal-menu.
+;; Avoid recursive load of calendar when loading cal-menu.  Yuck.
 (provide 'calendar)
 (require 'cal-menu)