mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-04 19:20:27 +02:00
* slib.scm (install-require-module): Fixed the kludge which loads
the slib catalog: Doesn't anylonger assume that the feature tested for isn't loaded.
This commit is contained in:
parent
a5cae3f309
commit
12ed431d8d
1 changed files with 2 additions and 2 deletions
|
@ -222,8 +222,8 @@
|
|||
(acons name vicinity *vicinity-table*)))))
|
||||
|
||||
(define (install-require-module name vicinity-name file-name)
|
||||
(if (not *catalog*) ;Fix which loads catalog in
|
||||
(require:provided? 'random)) ;slib2b2
|
||||
(if (not *catalog*) ;Fix which loads catalog in slib
|
||||
(catalog:get 'random)) ;(doesn't load the feature 'random)
|
||||
(let ((entry (assq name *catalog*))
|
||||
(vicinity (cdr (assq vicinity-name *vicinity-table*))))
|
||||
(let ((path-name (in-vicinity vicinity file-name)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue