r4292: Auto commit for Debian build
[hyperobject.git] / mop.lisp
index d607bb181c96371ef653fb1150141a7f0a619c6e..ca59a1c31eaf82f5a7f83ad5d20412a86595dde5 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.
 ;;;;
-;;;; $Id: mop.lisp,v 1.31 2003/03/29 20:41:04 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
 ;;;;
        (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)
-                    ':function (eval `(function ,method-lambda))
+                    ':function (compile nil method-lambda)
                     init-args-values)))))
 
 (defun finalize-subobjects (cl)