0.9.7.22:
authorChristophe Rhodes <csr21@cam.ac.uk>
Fri, 9 Dec 2005 15:57:43 +0000 (15:57 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Fri, 9 Dec 2005 15:57:43 +0000 (15:57 +0000)
Oops II.  Make (SETF CLASS-NAME) and (SETF
GENERIC-FUNCTION-NAME) return the right values.

src/pcl/methods.lisp
version.lisp-expr

index 9d0fe31..1268040 100644 (file)
 (defmethod (setf class-name) (new-value class)
   (let ((classoid (%wrapper-classoid (class-wrapper class))))
     (setf (classoid-name classoid) new-value))
-  (reinitialize-instance class :name new-value))
+  (reinitialize-instance class :name new-value)
+  new-value)
 
 (defmethod (setf generic-function-name) (new-value generic-function)
-  (reinitialize-instance generic-function :name new-value))
+  (reinitialize-instance generic-function :name new-value)
+  new-value)
 \f
 (defmethod function-keywords ((method standard-method))
   (multiple-value-bind (nreq nopt keysp restp allow-other-keys-p keywords)
index dbab5d6..a246e19 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.7.22"
+"0.9.7.23"