From: Chris Hanson <org/chris-hanson/cph>
Date: Tue, 29 Mar 2005 05:02:11 +0000 (+0000)
Subject: Fix a couple of typos.
X-Git-Tag: 20090517-FFI~1345
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=dd896ebae0e58feb8a811619077ea2f0a6d29c2d;p=mit-scheme.git

Fix a couple of typos.
---

diff --git a/v7/src/runtime/list.scm b/v7/src/runtime/list.scm
index 42b6db6c3..44db97bf1 100644
--- a/v7/src/runtime/list.scm
+++ b/v7/src/runtime/list.scm
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: list.scm,v 14.47 2005/03/29 03:38:36 cph Exp $
+$Id: list.scm,v 14.48 2005/03/29 05:02:11 cph Exp $
 
 Copyright 1986,1987,1988,1989,1990,1991 Massachusetts Institute of Technology
 Copyright 1992,1993,1994,1995,1996,2000 Massachusetts Institute of Technology
@@ -1065,7 +1065,7 @@ USA.
 	(null? l1))))
 
 (define (guarantee-restricted-keyword-list object keywords caller)
-  (if (not (restricted-keyword-list? object))
+  (if (not (restricted-keyword-list? object keywords))
       (error:not-restricted-keyword-list object caller)))
 
 (define (error:not-restricted-keyword-list object caller)
@@ -1078,7 +1078,7 @@ USA.
 	     (not (memq (car l1) symbols))
 	     (pair? (cdr l1))
 	     (not (eq? (cdr l1) l2))
-	     (loop (cdr (cdr l1)) (cdr l1) (cons (car 1) symbols)))
+	     (loop (cdr (cdr l1)) (cdr l1) (cons (car l1) symbols)))
 	(null? l1))))
 
 (define-guarantee unique-keyword-list "unique keyword list")