changeset 105857:900207956538

(top-level): Make load behave more like require.
author Glenn Morris <rgm@gnu.org>
date Thu, 05 Nov 2009 03:22:18 +0000
parents 55cefc906ff3
children e413a8093e28
files lisp/ChangeLog lisp/calendar/diary-lib.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 05 03:20:05 2009 +0000
+++ b/lisp/ChangeLog	Thu Nov 05 03:22:18 2009 +0000
@@ -1,3 +1,7 @@
+2009-11-05  Glenn Morris  <rgm@gnu.org>
+
+	* calendar/diary-lib.el (top-level): Make load behave more like require.
+
 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* custom.el (custom-declare-group): Purecopy standard-value.
--- a/lisp/calendar/diary-lib.el	Thu Nov 05 03:20:05 2009 +0000
+++ b/lisp/calendar/diary-lib.el	Thu Nov 05 03:22:18 2009 +0000
@@ -29,7 +29,7 @@
 ;;; Code:
 
 (require 'calendar)
-(load "diary-loaddefs" nil 'nomessage)
+(eval-and-compile (load "diary-loaddefs" nil t))
 
 (defgroup diary nil
   "Emacs diary."