diff lisp/packages.el @ 243:f220cc83d72e r20-5b20

Import from CVS: tag r20-5b20
author cvs
date Mon, 13 Aug 2007 10:17:07 +0200
parents 41f2f0e326e9
children e70b3a057e12
line wrap: on
line diff
--- a/lisp/packages.el	Mon Aug 13 10:16:17 2007 +0200
+++ b/lisp/packages.el	Mon Aug 13 10:17:07 2007 +0200
@@ -252,7 +252,7 @@
   "Search the supplied directory for associated directories.
 The top level is assumed to look like:
 info/           Contain texinfo files for lisp installed in this hierarchy
-etc/            Contain data files for lisp installled in this hiearchy
+etc/            Contain data files for lisp installled in this hierarchy
 lisp/           Contain directories which either have straight lisp code
                 or are self-contained packages of their own.
 
@@ -287,7 +287,8 @@
 	(if (and (running-temacs-p)
 		 (file-exists-p (concat package "/lisp/dumped-lisp.el")))
 	    (let (package-lisp)
-	      (load (concat package "/lisp/dumped-lisp.el"))
+	      (let (preloaded-file-list)
+		(load (concat package "/lisp/dumped-lisp.el")))
 	      (if package-lisp
 		  (progn
 		    (if (boundp 'preloaded-file-list)