projects
/
hyperobject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5fe53d4
)
r4287: Auto commit for Debian build
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 29 Mar 2003 20:29:10 +0000
(20:29 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 29 Mar 2003 20:29:10 +0000
(20:29 +0000)
mop.lisp
patch
|
blob
|
history
diff --git
a/mop.lisp
b/mop.lisp
index 613031565164a14fbadedc754242473ae0cc6ebf..48b0f053467972061f868c16da9e31955d5be962 100644
(file)
--- a/
mop.lisp
+++ b/
mop.lisp
@@
-11,7
+11,7
@@
;;;; in Text, HTML, and XML formats. This includes hyperlinking
;;;; capability and sub-objects.
;;;;
;;;; in Text, HTML, and XML formats. This includes hyperlinking
;;;; capability and sub-objects.
;;;;
-;;;; $Id: mop.lisp,v 1.2
8 2003/03/29 20:22:37
kevin Exp $
+;;;; $Id: mop.lisp,v 1.2
9 2003/03/29 20:29:10
kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
@@
-282,7
+282,7
@@
(,reader ,@keys)))))
#+(or sbcl scl cmu)
(,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)
(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)
(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)))))
':lambda-list '(the-class the-instance the-slot-name)
':function `(function ,method-lambda)
init-args-values)))))