209
|
1 ;;; packages.el --- Low level support for XEmacs packages
|
|
2
|
|
3 ;; Copyright (C) 1997 Free Software Foundation, Inc.
|
|
4
|
|
5 ;; Author: Steven L Baur <steve@altair.xemacs.org>
|
235
|
6 ;; Maintainer: Steven L Baur <steve@altair.xemacs.org>
|
209
|
7 ;; Keywords: internal, lisp, dumped
|
|
8
|
|
9 ;; This file is part of XEmacs.
|
|
10
|
|
11 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
12 ;; under the terms of the GNU General Public License as published by
|
|
13 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
14 ;; any later version.
|
|
15
|
|
16 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
19 ;; General Public License for more details.
|
|
20
|
|
21 ;; You should have received a copy of the GNU General Public License
|
|
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
|
|
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
24 ;; 02111-1307, USA.
|
|
25
|
|
26 ;;; Synched up with: Not in FSF
|
|
27
|
|
28 ;;; Commentary:
|
|
29
|
|
30 ;; This file is dumped with XEmacs.
|
|
31
|
|
32 ;; This file provides low level facilities for XEmacs startup --
|
|
33 ;; particularly regarding the package setup. This code has to run in
|
|
34 ;; what we call "bare temacs" -- i.e. XEmacs without the usual Lisp
|
|
35 ;; environment. Pay special attention:
|
|
36
|
|
37 ;; - not to use the `lambda' macro. Use #'(lambda ...) instead.
|
|
38 ;; (this goes for any package loaded before `subr.el'.)
|
|
39 ;;
|
|
40 ;; - not to use macros, because they are not yet available (and this
|
|
41 ;; file must be loadable uncompiled.) This rules out CL-style
|
|
42 ;; macros like `when', for instance.
|
|
43 ;;
|
|
44 ;; - not to use `defcustom'. If you must add user-customizable
|
|
45 ;; variables here, use `defvar', and add the variable to
|
|
46 ;; `cus-start.el'.
|
|
47
|
|
48 ;; Because of all this, make sure that the stuff you put here really
|
|
49 ;; belongs here.
|
|
50
|
267
|
51 ;; This file requires find-paths.el.
|
209
|
52
|
|
53 ;;; Code:
|
|
54
|
227
|
55 ;;; Package versioning
|
|
56
|
|
57 (defvar packages-package-list nil
|
|
58 "database of loaded packages and version numbers")
|
|
59
|
276
|
60 (defvar packages-hierarchy-depth 1
|
|
61 "Depth of package hierarchies.")
|
|
62
|
|
63 (defvar packages-load-path-depth 1
|
|
64 "Depth of load-path search in package hierarchies.")
|
|
65
|
308
|
66 (defvar packages-data-path-depth 1
|
|
67 "Depth of data-path search in package hierarchies.")
|
|
68
|
267
|
69 (defvar early-packages nil
|
|
70 "Packages early in the load path.")
|
|
71
|
|
72 (defvar early-package-load-path nil
|
|
73 "Load path for packages early in the load path.")
|
|
74
|
272
|
75 (defvar late-packages nil
|
267
|
76 "Packages late in the load path.")
|
|
77
|
|
78 (defvar late-package-load-path nil
|
|
79 "Load path for packages late in the load path.")
|
|
80
|
272
|
81 (defvar last-packages nil
|
|
82 "Packages last in the load path.")
|
|
83
|
|
84 (defvar last-package-load-path nil
|
|
85 "Load path for packages last in the load path.")
|
|
86
|
274
|
87 (defvar package-locations
|
|
88 (list
|
276
|
89 (list (paths-construct-path '("~" ".xemacs"))
|
|
90 'early #'(lambda () t))
|
|
91 (list "site-packages" 'late #'(lambda () t))
|
278
|
92 (list "infodock-packages" 'late #'(lambda () (featurep 'infodock)))
|
274
|
93 (list "mule-packages" 'late #'(lambda () (featurep 'mule)))
|
280
|
94 (list "xemacs-packages" 'late #'(lambda () t))
|
278
|
95 (list "packages" 'late #'(lambda () t)))
|
274
|
96 "Locations of the various package directories.
|
|
97 This is a list each of whose elements describes one directory.
|
|
98 A directory description is a three-element list.
|
|
99 The first element is either an absolute path or a subdirectory
|
|
100 in the XEmacs hierarchy.
|
|
101 The second component is one of the symbols EARLY, LATE, LAST,
|
|
102 depending on the load-path segment the hierarchy is supposed to
|
|
103 show up in.
|
|
104 The third component is a thunk which, if it returns NIL, causes
|
|
105 the directory to be ignored.")
|
|
106
|
235
|
107 (defun package-get-key-1 (info key)
|
|
108 "Locate keyword `key' in list."
|
|
109 (cond ((null info)
|
|
110 nil)
|
|
111 ((eq (car info) key)
|
|
112 (nth 1 info))
|
|
113 (t (package-get-key-1 (cddr info) key))))
|
|
114
|
|
115 (defun package-get-key (name key)
|
|
116 "Get info `key' from package `name'."
|
|
117 (let ((info (assq name packages-package-list)))
|
|
118 (when info
|
|
119 (package-get-key-1 (cdr info) key))))
|
|
120
|
|
121 (defun package-provide (name &rest attributes)
|
|
122 (let ((info (if (and attributes (floatp (car attributes)))
|
|
123 (list :version (car attributes))
|
|
124 attributes)))
|
|
125 (remassq name packages-package-list)
|
|
126 (setq packages-package-list
|
|
127 (cons (cons name info) packages-package-list))))
|
227
|
128
|
|
129 (defun package-require (name version)
|
|
130 (let ((pkg (assq name packages-package-list)))
|
|
131 (cond ((null pkg)
|
|
132 (error "Package %s has not been loaded into this XEmacsen"
|
|
133 name))
|
239
|
134 ((< (package-get-key name :version) version)
|
227
|
135 (error "Need version %g of package %s, got version %g"
|
|
136 version name (cdr pkg)))
|
|
137 (t t))))
|
|
138
|
|
139 ;;; Build time stuff
|
|
140
|
209
|
141 (defvar autoload-file-name "auto-autoloads.el"
|
|
142 "Filename that autoloads are expected to be found in.")
|
|
143
|
|
144 (defvar packages-hardcoded-lisp
|
|
145 '(
|
288
|
146 ;; Nothing at this time
|
209
|
147 )
|
288
|
148 "Lisp packages that are always dumped with XEmacs.
|
|
149 This includes every package that is loaded directly by a package listed
|
|
150 in dumped-lisp.el and is not itself listed.")
|
209
|
151
|
|
152 (defvar packages-useful-lisp
|
|
153 '("bytecomp"
|
|
154 "byte-optimize"
|
|
155 "shadow"
|
|
156 "cl-macs")
|
|
157 "Lisp packages that need early byte compilation.")
|
|
158
|
|
159 (defvar packages-unbytecompiled-lisp
|
|
160 '("paths.el"
|
227
|
161 "dumped-lisp.el"
|
|
162 "dumped-pkg-lisp.el"
|
261
|
163 "version.el"
|
304
|
164 "very-early-lisp.el"
|
261
|
165 "Installation.el")
|
209
|
166 "Lisp packages that should not be byte compiled.")
|
|
167
|
|
168
|
|
169 ;; Copied from help.el, could possibly move it to here permanently.
|
|
170 ;; Unlike the FSF version, our `locate-library' uses the `locate-file'
|
|
171 ;; primitive, which should make it lightning-fast.
|
|
172
|
|
173 (defun locate-library (library &optional nosuffix path interactive-call)
|
|
174 "Show the precise file name of Emacs library LIBRARY.
|
|
175 This command searches the directories in `load-path' like `M-x load-library'
|
|
176 to find the file that `M-x load-library RET LIBRARY RET' would load.
|
|
177 Optional second arg NOSUFFIX non-nil means don't add suffixes `.elc' or `.el'
|
|
178 to the specified name LIBRARY.
|
|
179
|
|
180 If the optional third arg PATH is specified, that list of directories
|
|
181 is used instead of `load-path'."
|
|
182 (interactive (list (read-string "Locate library: ")
|
|
183 nil nil
|
|
184 t))
|
|
185 (let ((result
|
|
186 (locate-file
|
|
187 library
|
|
188 (or path load-path)
|
|
189 (cond ((or (rassq 'jka-compr-handler file-name-handler-alist)
|
|
190 (and (boundp 'find-file-hooks)
|
|
191 (member 'crypt-find-file-hook find-file-hooks)))
|
|
192 ;; Compression involved.
|
|
193 (if nosuffix
|
|
194 ":.gz:.Z"
|
|
195 ".elc:.elc.gz:elc.Z:.el:.el.gz:.el.Z::.gz:.Z"))
|
|
196 (t
|
|
197 ;; No compression.
|
|
198 (if nosuffix
|
|
199 ""
|
|
200 ".elc:.el:")))
|
|
201 4)))
|
|
202 (and interactive-call
|
|
203 (if result
|
|
204 (message "Library is file %s" result)
|
|
205 (message "No library %s in search path" library)))
|
|
206 result))
|
|
207
|
|
208 (defun packages-add-suffix (str)
|
|
209 (if (null (string-match "\\.el\\'" str))
|
|
210 (concat str ".elc")
|
|
211 str))
|
|
212
|
235
|
213 (defun packages-list-autoloads-path ()
|
209
|
214 "List autoloads from precomputed load-path."
|
|
215 (let ((path load-path)
|
|
216 autoloads)
|
|
217 (while path
|
|
218 (if (file-exists-p (concat (car path)
|
|
219 autoload-file-name))
|
|
220 (setq autoloads (cons (concat (car path)
|
|
221 autoload-file-name)
|
|
222 autoloads)))
|
|
223 (setq path (cdr path)))
|
|
224 autoloads))
|
|
225
|
235
|
226 (defun packages-list-autoloads ()
|
209
|
227 "List autoload files in (what will be) the normal lisp search path.
|
|
228 This function is used during build to find where the global symbol files so
|
|
229 they can be perused for their useful information."
|
|
230 ;; Source directory may not be initialized yet.
|
|
231 ;; (print (prin1-to-string load-path))
|
|
232 (if (null source-directory)
|
276
|
233 (setq source-directory (car load-path)))
|
235
|
234 (let ((files (directory-files (file-name-as-directory source-directory)
|
|
235 t ".*"))
|
209
|
236 file autolist)
|
215
|
237 ;; (print (prin1-to-string source-directory))
|
|
238 ;; (print (prin1-to-string files))
|
209
|
239 (while (setq file (car-safe files))
|
|
240 (if (and (file-directory-p file)
|
276
|
241 (file-exists-p (concat (file-name-as-directory file)
|
|
242 autoload-file-name)))
|
|
243 (setq autolist (cons (concat (file-name-as-directory file)
|
|
244 autoload-file-name)
|
209
|
245 autolist)))
|
|
246 (setq files (cdr files)))
|
|
247 autolist))
|
|
248
|
235
|
249 ;; The following function cannot be called from a bare temacs
|
|
250 (defun packages-new-autoloads ()
|
|
251 "Return autoloads files that have been added or modified since XEmacs dump."
|
|
252 (require 'loadhist)
|
|
253 (let ((me (concat invocation-directory invocation-name))
|
|
254 (path load-path)
|
|
255 result dir)
|
|
256 (while path
|
|
257 (setq dir (file-truename (car path)))
|
|
258 (let ((autoload-file (file-name-sans-extension (concat
|
|
259 dir
|
|
260 autoload-file-name))))
|
|
261 ;; Check for:
|
|
262 ;; 1. An auto-autoload file that hasn't provided a feature (because
|
|
263 ;; it has been installed since XEmacs was dumped).
|
|
264 ;; 2. auto-autoload.el being newer than the executable
|
|
265 ;; 3. auto-autoload.elc being newer than the executable (the .el
|
|
266 ;; could be missing or compressed)
|
|
267 (when (or (and (null (file-provides autoload-file))
|
|
268 (or (file-exists-p (concat autoload-file ".elc"))
|
|
269 (file-exists-p (concat autoload-file ".el"))))
|
|
270 (and (file-newer-than-file-p (concat autoload-file ".el") me)
|
|
271 (setq autoload-file (concat autoload-file ".el")))
|
|
272 (and (file-newer-than-file-p (concat autoload-file
|
|
273 ".elc")
|
|
274 me)
|
|
275 (setq autoload-file (concat autoload-file ".elc"))))
|
|
276 (push autoload-file result)))
|
|
277 (setq path (cdr path)))
|
|
278 result))
|
|
279
|
|
280 ;; The following function cannot be called from a bare temacs
|
|
281 (defun packages-reload-autoloads ()
|
|
282 "Reload new or updated auto-autoloads files.
|
|
283 This is an extremely dangerous function to call after the user-init-files
|
|
284 is run. Don't call it or you'll be sorry."
|
|
285 (let ((autoload-list (packages-new-autoloads)))
|
|
286 (while autoload-list
|
|
287 (let* ((autoload-file (car autoload-list))
|
|
288 (feature (car-safe (file-provides autoload-file))))
|
|
289 (when feature
|
|
290 ;; (message "(unload-feature %S)" feature)
|
|
291 (unload-feature feature))
|
237
|
292 (condition-case nil
|
|
293 (load autoload-file)
|
|
294 (t nil)))
|
235
|
295 (setq autoload-list (cdr autoload-list)))))
|
|
296
|
209
|
297 ;; Data-directory is really a list now. Provide something to search it for
|
|
298 ;; directories.
|
|
299
|
|
300 (defun locate-data-directory (name &optional dir-list)
|
|
301 "Locate a directory in a search path DIR-LIST (a list of directories).
|
|
302 If no DIR-LIST is supplied, it defaults to `data-directory-list'."
|
|
303 (unless dir-list
|
|
304 (setq dir-list data-directory-list))
|
|
305 (let (found found-dir)
|
|
306 (while (and (null found-dir) dir-list)
|
276
|
307 (setq found (file-name-as-directory (concat (car dir-list) name))
|
209
|
308 found-dir (file-directory-p found))
|
|
309 (or found-dir
|
|
310 (setq found nil))
|
|
311 (setq dir-list (cdr dir-list)))
|
|
312 found))
|
|
313
|
215
|
314 ;; Data-directory is really a list now. Provide something to search it for
|
|
315 ;; files.
|
|
316
|
|
317 (defun locate-data-file (name &optional dir-list)
|
|
318 "Locate a file in a search path DIR-LIST (a list of directories).
|
239
|
319 If no DIR-LIST is supplied, it defaults to `data-directory-list'.
|
|
320 This function is basically a wrapper over `locate-file'."
|
215
|
321 (unless dir-list
|
|
322 (setq dir-list data-directory-list))
|
239
|
323 (locate-file name dir-list))
|
215
|
324
|
267
|
325 ;; Path setup
|
|
326
|
274
|
327 (defun packages-find-package-directories (roots base)
|
|
328 "Find a set of package directories."
|
280
|
329 ;; make sure paths-find-version-directory and paths-find-site-directory
|
|
330 ;; don't both pick up version-independent directories ...
|
|
331 (let ((version-directory (paths-find-version-directory roots base nil nil t))
|
274
|
332 (site-directory (paths-find-site-directory roots base)))
|
|
333 (paths-uniq-append
|
|
334 (and version-directory (list version-directory))
|
|
335 (and site-directory (list site-directory)))))
|
267
|
336
|
286
|
337 (defvar packages-special-base-regexp "^\\(etc\\|info\\|lisp\\|lib-src\\|bin\\)$"
|
267
|
338 "Special subdirectories of packages.")
|
|
339
|
286
|
340 (defvar packages-no-package-hierarchy-regexp
|
|
341 (concat "\\(" paths-version-control-filename-regexp "\\)"
|
|
342 "\\|"
|
|
343 "\\(" packages-special-base-regexp "\\)")
|
|
344 "Directories which can't be the roots of package hierarchies.")
|
|
345
|
267
|
346 (defun packages-find-packages-in-directories (directories)
|
|
347 "Find all packages underneath directories in DIRECTORIES."
|
|
348 (paths-find-recursive-path directories
|
276
|
349 packages-hierarchy-depth
|
286
|
350 packages-no-package-hierarchy-regexp))
|
267
|
351
|
|
352 (defun packages-split-path (path)
|
276
|
353 "Split PATH at \"\", return pair with two components.
|
267
|
354 The second component is shared with PATH."
|
272
|
355 (let ((reverse-tail '())
|
|
356 (rest path))
|
276
|
357 (while (and rest (null (string-equal "" (car rest))))
|
272
|
358 (setq reverse-tail (cons (car rest) reverse-tail))
|
|
359 (setq rest (cdr rest)))
|
|
360 (if (null rest)
|
|
361 (cons path nil)
|
|
362 (cons (nreverse reverse-tail) (cdr rest)))))
|
267
|
363
|
274
|
364 (defun packages-split-package-path (package-path)
|
|
365 "Split up PACKAGE-PATH into early, late and last components.
|
276
|
366 The separation is by \"\" components.
|
272
|
367 This returns (LIST EARLY-PACKAGES LATE-PACKAGES LAST-PACKAGES)."
|
274
|
368 ;; When in doubt, it's late
|
|
369 (let* ((stuff (packages-split-path package-path))
|
|
370 (early (and (cdr stuff) (car stuff)))
|
|
371 (late+last (or (cdr stuff) (car stuff)))
|
|
372 (stuff (packages-split-path late+last))
|
|
373 (late (car stuff))
|
|
374 (last (cdr stuff)))
|
|
375 (list (packages-find-packages-in-directories early)
|
|
376 (packages-find-packages-in-directories late)
|
|
377 (packages-find-packages-in-directories last))))
|
|
378
|
|
379 (defun packages-deconstruct (list consumer)
|
|
380 "Deconstruct LIST and feed it to CONSUMER."
|
|
381 (apply consumer list))
|
|
382
|
|
383 (defun packages-find-packages-by-name (roots name)
|
|
384 "Find a package hierarchy by its name."
|
|
385 (packages-find-packages-in-directories
|
|
386 (if (and (file-name-absolute-p name)
|
|
387 (file-name-directory (expand-file-name name)))
|
|
388 (list (file-name-as-directory (expand-file-name name)))
|
|
389 (packages-find-package-directories roots name))))
|
|
390
|
|
391 (defun packages-find-packages-at-time
|
|
392 (roots package-locations time &optional default)
|
|
393 "Find packages at given time.
|
|
394 For the format of PACKAGE-LOCATIONS, see the global variable of the same name.
|
|
395 TIME is either 'EARLY, 'LATE, or 'LAST.
|
|
396 DEFAULT is a default list of packages."
|
276
|
397 (or default
|
|
398 (let ((packages '()))
|
|
399 (while package-locations
|
|
400 (packages-deconstruct
|
|
401 (car package-locations)
|
|
402 #'(lambda (name a-time thunk)
|
|
403 (if (and (eq time a-time)
|
|
404 (funcall thunk))
|
|
405 (setq packages
|
|
406 (nconc packages
|
|
407 (packages-find-packages-by-name roots name))))))
|
|
408 (setq package-locations (cdr package-locations)))
|
|
409 packages)))
|
274
|
410
|
276
|
411 (defun packages-find-packages (roots)
|
274
|
412 "Find the packages."
|
276
|
413 (let ((envvar-value (getenv "EMACSPACKAGEPATH")))
|
|
414 (if envvar-value
|
|
415 (packages-split-package-path (paths-decode-directory-path envvar-value))
|
|
416 (packages-deconstruct
|
|
417 (packages-split-package-path configure-package-path)
|
|
418 #'(lambda (configure-early-packages
|
|
419 configure-late-packages
|
|
420 configure-last-packages)
|
|
421 (list (packages-find-packages-at-time roots package-locations 'early
|
|
422 configure-early-packages)
|
|
423 (packages-find-packages-at-time roots package-locations 'late
|
|
424 configure-late-packages)
|
|
425 (packages-find-packages-at-time roots package-locations 'last
|
|
426 configure-last-packages)))))))
|
267
|
427
|
|
428 (defun packages-find-package-library-path (packages suffixes)
|
|
429 "Construct a path into a component of the packages hierarchy.
|
|
430 PACKAGES is a list of package directories.
|
|
431 SUFFIXES is a list of names of package subdirectories to look for."
|
|
432 (let ((directories
|
|
433 (apply
|
|
434 #'append
|
|
435 (mapcar #'(lambda (package)
|
|
436 (mapcar #'(lambda (suffix)
|
276
|
437 (file-name-as-directory (concat package suffix)))
|
267
|
438 suffixes))
|
|
439 packages))))
|
|
440 (paths-directories-which-exist directories)))
|
|
441
|
|
442 (defun packages-find-package-load-path (packages)
|
|
443 "Construct the load-path component for packages.
|
|
444 PACKAGES is a list of package directories."
|
|
445 (paths-find-recursive-load-path
|
276
|
446 (packages-find-package-library-path packages
|
|
447 '("lisp"))
|
|
448 packages-load-path-depth))
|
267
|
449
|
|
450 (defun packages-find-package-exec-path (packages)
|
308
|
451 "Construct the exec-path component for packages.
|
|
452 PACKAGES is a list of package directories."
|
267
|
453 (packages-find-package-library-path packages
|
276
|
454 (list (paths-construct-path
|
|
455 (list "bin" system-configuration))
|
|
456 "lib-src")))
|
267
|
457
|
|
458 (defun packages-find-package-info-path (packages)
|
308
|
459 "Construct the info-path component for packages.
|
|
460 PACKAGES is a list of package directories."
|
276
|
461 (packages-find-package-library-path packages '("info")))
|
267
|
462
|
|
463 (defun packages-find-package-data-path (packages)
|
308
|
464 "Construct the data-path component for packages.
|
|
465 PACKAGES is a list of package directories."
|
|
466 (paths-find-recursive-load-path
|
|
467 (packages-find-package-library-path packages
|
|
468 '("etc"))
|
|
469 packages-data-path-depth))
|
267
|
470
|
|
471 ;; Loading package initialization files
|
|
472
|
|
473 (defun packages-load-package-lisps (package-load-path base)
|
|
474 "Load all Lisp files of a certain name along a load path.
|
|
475 BASE is the base name of the files."
|
|
476 (mapc #'(lambda (dir)
|
|
477 (let ((file-name (expand-file-name base dir)))
|
276
|
478 (condition-case error
|
|
479 (load file-name t t)
|
|
480 (error
|
|
481 (warn (format "Autoload error in: %s:\n\t%s"
|
|
482 file-name
|
|
483 (with-output-to-string
|
|
484 (display-error error nil))))))))
|
267
|
485 package-load-path))
|
|
486
|
|
487 (defun packages-load-package-auto-autoloads (package-load-path)
|
|
488 "Load auto-autoload files along a load path."
|
|
489 (packages-load-package-lisps package-load-path
|
|
490 (file-name-sans-extension autoload-file-name)))
|
|
491
|
|
492 (defun packages-handle-package-dumped-lisps (handle package-load-path)
|
|
493 "Load dumped-lisp.el files along a load path.
|
|
494 Call HANDLE on each file off definitions of PACKAGE-LISP there."
|
|
495 (mapc #'(lambda (dir)
|
|
496 (let ((file-name (expand-file-name "dumped-lisp.el" dir)))
|
|
497 (if (file-exists-p file-name)
|
|
498 (let (package-lisp
|
|
499 ;; 20.4 packages could set this
|
|
500 preloaded-file-list)
|
|
501 (load file-name)
|
|
502 ;; dumped-lisp.el could have set this ...
|
|
503 (if package-lisp
|
|
504 (mapc #'(lambda (base)
|
272
|
505 (funcall handle base))
|
267
|
506 package-lisp))))))
|
276
|
507 package-load-path))
|
267
|
508
|
|
509 (defun packages-load-package-dumped-lisps (package-load-path)
|
|
510 "Load dumped-lisp.el files along a load path.
|
|
511 Also load files off PACKAGE-LISP definitions there"
|
|
512 (packages-handle-package-dumped-lisps #'load package-load-path))
|
|
513
|
|
514 (defun packages-collect-package-dumped-lisps (package-load-path)
|
|
515 "Load dumped-lisp.el files along a load path.
|
|
516 Return list of files off PACKAGE-LISP definitions there"
|
|
517 (let ((*files* '()))
|
|
518 (packages-handle-package-dumped-lisps
|
|
519 #'(lambda (file)
|
272
|
520 (setq *files* (cons file *files*)))
|
267
|
521 package-load-path)
|
|
522 (reverse *files*)))
|
209
|
523
|
|
524 (provide 'packages)
|
|
525
|
|
526 ;;; packages.el ends here
|