Fix naming issue right (?).
authorChris Hanson <org/chris-hanson/cph>
Tue, 8 Jan 2002 05:06:46 +0000 (05:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 8 Jan 2002 05:06:46 +0000 (05:06 +0000)
v7/src/runtime/urtrap.scm

index 29d71c5b6b1217a02d6e273a06b9e8f1d417c6d4..c0fa92459ce6f52e3940852466bdb2a707580882 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: urtrap.scm,v 14.12 2002/01/08 05:03:56 cph Exp $
+$Id: urtrap.scm,v 14.13 2002/01/08 05:06:46 cph Exp $
 
 Copyright (c) 1988-1999, 2001, 2002 Massachusetts Institute of Technology
 
@@ -33,8 +33,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
                    (standard-unparser-method 'REFERENCE-TRAP
                      (lambda (trap port)
                        (write-char #\space port)
-                       (write (or (reference-trap-kind-name trap)
-                                  (reference-trap-kind trap))
+                       (write (let ((kind (reference-trap-kind trap)))
+                                (or (reference-trap-kind-name kind)
+                                    kind))
                               port)))))
   (kind #f read-only #t)
   (extra #f read-only #t))