;;;; in Text, HTML, and XML formats. This includes hyperlinking
;;;; capability and sub-objects.
;;;;
-;;;; $Id: mop.lisp,v 1.33 2003/03/29 20:54:56 kevin Exp $
+;;;; $Id: mop.lisp,v 1.34 2003/03/29 20:58:09 kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
#+(or sbcl scl cmu)
(defun ensure-lazy-reader (class-name slot-name reader &rest reader-keys)
- (break)
(let ((keys nil)
(gf (ensure-generic-function 'slot-unbound)))
(dolist (key reader-keys)
(add-method gf
(apply
#'make-instance (generic-function-method-class gf)
- ':specializers (list (intern-eql-specializer class-name)
+ ':specializers (list (class-of (find-class class-name))
(find-class class-name)
(intern-eql-specializer slot-name))
':lambda-list '(the-class the-instance the-slot-name)