Mercurial > emacs
diff lisp/calendar/calendar.el @ 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 | 447b30ba4c57 |
children | 5673edec9392 |
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)