]> git.eshelyaron.com Git - emacs.git/commitdiff
Require loaddef file rather than loading it.
authorGlenn Morris <rgm@gnu.org>
Sat, 5 Apr 2008 18:55:09 +0000 (18:55 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 5 Apr 2008 18:55:09 +0000 (18:55 +0000)
lisp/ChangeLog
lisp/calendar/calendar.el
lisp/calendar/diary-lib.el
lisp/calendar/holidays.el

index 20816c12e725e47ac823f4aed8464522d4047891..14fb413f41a74b7bd58b17bec822e72976cac8f1 100644 (file)
@@ -1,3 +1,20 @@
+2008-04-05  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/autoload.el (autoload-ensure-default-file):
+       Provide a feature.
+       * calendar/calendar.el, calendar/diary-lib.el, calendar/holidays.el:
+       Require loaddef file rather than loading it.
+       * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that
+       autoload-ensure-default-file provides a feature.
+
+       * Makefile.in (LOADDEFS): Add mh-loaddefs.el.
+       (AUTOGENEL): mh-loaddefs is in $LOADDEFS now.
+       (compile, compile-always, recompile): Use $LOADDEFS.
+       (cal-autoloads): Remove.
+
+       * calendar/cal-x.el (calendar-dedicate-diary): Use get-buffer rather
+       than buffer-live-p.  Reported by David Koppelman <koppel@ece.lsu.edu>.
+
 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * server.el: Undo part of the multi-tty change, which is only
 
 2008-04-04  Michael Kifer  <kifer@cs.stonybrook.edu>
 
-       * ediff*el: replaced load with require in eval-when-compile.
+       * ediff*.el: Replace load with require in eval-when-compile.
 
-       * ediff-hook: deleted all invocations of (autoload ...).
+       * ediff-hook: Delete all invocations of (autoload ...).
 
        * ediff-util.el (ediff-setup): Make window-min-height a local variable
        in ediff control window, and set its min height to 2.
index 74679246d3e0ea151690e4883e8413a1fa177e71..0ec489f80ca60752e559a7214f3d0d1b55aca86c 100644 (file)
 
 ;;; 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)
 
index e935033019328a505ab4ea15e9cf6e0deca2e3da..75cd12d32106b707e7acc3455f7e0751e4d311a5 100644 (file)
@@ -31,9 +31,7 @@
 ;;; Code:
 
 (require 'calendar)
-
-(eval-and-compile
-  (load "diary-loaddefs" nil 'quiet))
+(require 'diary-loaddefs)
 
 (defcustom diary-include-string "#include"
   "The string indicating inclusion of another file of diary entries.
index 8660d247d98c740b5729d1695f04dd0109deb53f..4a4fe325b8efeec4a8c24e2699fc04a4fa09a640 100644 (file)
@@ -31,9 +31,7 @@
 ;;; Code:
 
 (require 'calendar)
-
-(eval-and-compile
-  (load "hol-loaddefs" nil 'quiet))
+(require 'hol-loaddefs)
 
 ;;;###diary-autoload
 (defun calendar-holiday-list ()