- (let ((class (cl:find-class type nil)))
- (and class
- (typep (sb-kernel:layout-info (sb-kernel:class-layout class))
- 'sb-kernel:defstruct-description)))))
+ (not (condition-type-p type))
+ (let ((classoid (find-classoid type nil)))
+ (and classoid
+ (typep (layout-info
+ (classoid-layout classoid))
+ 'defstruct-description)))))
+
+(defun condition-type-p (type)
+ (and (symbolp type)
+ (condition-classoid-p (find-classoid type nil))))
+\f
+(/show "finished with early-low.lisp")