r8216: fix documentation setting
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 16 Nov 2003 02:57:17 +0000 (02:57 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 16 Nov 2003 02:57:17 +0000 (02:57 +0000)
debian/changelog
mop.lisp

index 5ccf133589c86ddb1e7fb21a8493546581804cc3..ba2df96a1a00bfa17f103141d0777909cacc9d64 100644 (file)
@@ -1,3 +1,9 @@
+cl-hyperobject (2.8.7-1) unstable; urgency=low
+
+  * Fix invalid setting of documentation for hyperobject-class
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sat, 15 Nov 2003 19:32:25 -0700
+
 cl-hyperobject (2.8.6-1) unstable; urgency=low
 
   * New upstream
index 3d00a79e85295d362d892961a7ccfb0f1b542ee4..5307f3ed545f07ed60be74ca9ee88378f1ab2cce 100644 (file)
--- a/mop.lisp
+++ b/mop.lisp
@@ -64,7 +64,9 @@
             :documentation "Unique ID for the class")
    (default-view :initform nil :initarg :default-view :accessor default-view
                 :documentation "The default view for a class")
-
+   (documementation :initform nil :initarg :documentation
+                   :documentation "Documentation string for hyperclass.")
+   
    ;; SQL commands
    (create-table-cmd :initform nil :reader create-table-cmd)
    (create-indices-cmds :initform nil :reader create-index-cmds)
@@ -446,7 +448,7 @@ SQL name"
 (defun finalize-documentation (cl)
   "Calculate class documentation slot"
   (let ((*print-circle* nil))
-    (setf (documentation (class-name cl) 'class)
+    (setf (documentation cl 'type)
          (format nil "Hyperobject~A~A~A~A"
                  (aif (user-name cl)
                       (format nil ": ~A" it ""))