summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-03-09 21:40:30 +0100
committerAndy Wingo <wingo@pobox.com>2009-03-09 21:40:30 +0100
commitcdf4d299bfab51742862388904eb834ae09a4ea9 (patch)
treea72f75630ea17b9e569c59f50420bedda8edba7d
parent7f7886d2da35c8c02f91f3b68078339be0cb44ae (diff)
downloadguile-cdf4d299bfab51742862388904eb834ae09a4ea9.tar.gz
tweaks to boot-9
* module/ice-9/boot-9.scm: Move the r4rs init up to the top. (try-module-autoload): Don't use with-fluids before it's defined.
-rw-r--r--module/ice-9/boot-9.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index c39dd4a5b..59ae0a067 100644
--- a/module/ice-9/boot-9.scm
+++ b/module/ice-9/boot-9.scm
@@ -33,6 +33,13 @@
+;;; {R4RS compliance}
+;;;
+
+(primitive-load-path "ice-9/r4rs")
+
+
+
;;; {Features}
;;;
@@ -189,13 +196,6 @@
-;;; {R4RS compliance}
-;;;
-
-(primitive-load-path "ice-9/r4rs")
-
-
-
;;; {Simple Debugging Tools}
;;;
@@ -2158,8 +2158,8 @@ module '(ice-9 q) '(make-q q-length))}."
(stat:mtime (stat source)))))
(if compiled
(warn "source file" source "newer than" compiled))
- (with-fluids ((current-reader #f))
- (load-file primitive-load source)))
+ (with-fluid* current-reader #f
+ (lambda () (load-file primitive-load source))))
(compiled
(load-file load-compiled compiled))))))
(lambda () (set-autoloaded! dir-hint name didit)))