From: Kevin M. Rosenberg Date: Sat, 29 Mar 2003 20:29:10 +0000 (+0000) Subject: r4287: Auto commit for Debian build X-Git-Tag: debian-2.11.0-2~182 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=962a9b69315aaa22c831c9e29230d315b5d0b9b7;hp=5fe53d4fd03d9339c06850dd54dcbcae10b3678e;p=hyperobject.git r4287: Auto commit for Debian build --- diff --git a/mop.lisp b/mop.lisp index 6130315..48b0f05 100644 --- a/mop.lisp +++ b/mop.lisp @@ -11,7 +11,7 @@ ;;;; in Text, HTML, and XML formats. This includes hyperlinking ;;;; capability and sub-objects. ;;;; -;;;; $Id: mop.lisp,v 1.28 2003/03/29 20:22:37 kevin Exp $ +;;;; $Id: mop.lisp,v 1.29 2003/03/29 20:29:10 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -282,7 +282,7 @@ (,reader ,@keys))))) #+(or sbcl scl cmu) -(defun ensure-lazy-reader (class slot-name reader &rest reader-keys) +(defun ensure-lazy-reader (class-name slot-name reader &rest reader-keys) (let ((keys nil) (gf (ensure-generic-function 'slot-unbound))) (dolist (key reader-keys) @@ -299,7 +299,9 @@ (add-method gf (apply #'make-instance (generic-function-method-class gf) - ':specializers (list t class (intern-eql-specializer slot-name)) + ':specializers (list (intern-eql-specializer class-name) + (find-class class-name) + (intern-eql-specializer slot-name)) ':lambda-list '(the-class the-instance the-slot-name) ':function `(function ,method-lambda) init-args-values)))))