summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-03-06 16:57:17 +0100
committerAndy Wingo <wingo@pobox.com>2009-03-06 16:57:17 +0100
commit25d8cd3a0c840eeb86313e1d0c61f7b9c34b9141 (patch)
tree1e622077a1ed83b33d0892b03f7e65c48cba1f80
parentb15dea6857f531941063e91e2a89204e0754a99f (diff)
downloadguile-25d8cd3a0c840eeb86313e1d0c61f7b9c34b9141.tar.gz
fix eval-when statements in boot-9
* module/ice-9/boot-9.scm: Fix a couple eval-when statements.
-rw-r--r--module/ice-9/boot-9.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index 5d5c7f3e3..cc1029275 100644
--- a/module/ice-9/boot-9.scm
+++ b/module/ice-9/boot-9.scm
@@ -116,9 +116,8 @@
;; module, the primary location of those symbols, rather than in
;; (guile-user), the default module that we compile in.
-(eval-when
- ((compile)
- (set-current-module (resolve-module '(guile)))))
+(eval-when (compile)
+ (set-current-module (resolve-module '(guile))))
;;; {Defmacros}
;;;
@@ -1779,7 +1778,8 @@
(set-module-name! the-root-module '(guile))
(set-module-name! the-scm-module '(guile))
(set-module-kind! the-scm-module 'interface)
-(for-each set-system-module! (list the-root-module the-scm-module) '(#t #t))
+(set-system-module! the-root-module #t)
+(set-system-module! the-scm-module #t)
;; NOTE: This binding is used in libguile/modules.c.
;;
@@ -2737,9 +2737,9 @@ module '(ice-9 q) '(make-q q-length))}."
;; arguments for resolve-interface according to SPEC.
(eval-when
- ((compile)
- (if (memq 'prefix (read-options))
- (error "boot-9 must be compiled with #:kw, not :kw"))))
+ (compile)
+ (if (memq 'prefix (read-options))
+ (error "boot-9 must be compiled with #:kw, not :kw")))
(define (compile-interface-spec spec)
(define (make-keyarg sym key quote?)