diff lisp/prim/packages.el @ 191:ecf6ba7b0a10 r20-3b22

Import from CVS: tag r20-3b22
author cvs
date Mon, 13 Aug 2007 09:57:38 +0200
parents 489f57a838ef
children a2f645c6b9f8
line wrap: on
line diff
--- a/lisp/prim/packages.el	Mon Aug 13 09:57:10 2007 +0200
+++ b/lisp/prim/packages.el	Mon Aug 13 09:57:38 2007 +0200
@@ -105,18 +105,7 @@
 		    (and (boundp 'find-file-hooks)
 			 (member 'crypt-find-file-hook find-file-hooks)))
 		".elc:.el:"
-	      ;; The complex expression evaluates to a relatively
-	      ;; short string, so we do it at compile-time.
-	      ;; Nope.  This is run out of temacs and `eval-when-compile' is
-	      ;; a void function.  --sb
-	      (mapconcat #'identity
-			 (apply 'nconc
-				(mapcar (lambda (compelt)
-					  (mapcar (lambda (baselt)
-						    (concat baselt compelt))
-						  '(".elc" ".el" "")))
-					'(".Z" ".gz" "")))
-			 ":")))
+	      ".elc:.elc.gz:elc.Z:.el:.el.gz:.el.Z::.gz:.Z"))
 	  4)))
     (and interactive-call
 	 (if result