From: Nikodemus Siivola Date: Mon, 27 Aug 2007 15:47:55 +0000 (+0000) Subject: keep docstrings from PCL bootstrap around X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=f3666325b394cc61492be8aaf9621d66e7d9c0bd;p=sbcl.git keep docstrings from PCL bootstrap around * Keep documentation strings from early generics and methods. --- diff --git a/src/pcl/boot.lisp b/src/pcl/boot.lisp index 56317d7..017e147 100644 --- a/src/pcl/boot.lisp +++ b/src/pcl/boot.lisp @@ -2054,6 +2054,7 @@ bootstrapping. lambda-list-p) argument-precedence-order source-location + documentation &allow-other-keys) (declare (ignore keys)) (cond ((and existing (early-gf-p existing)) @@ -2063,7 +2064,8 @@ bootstrapping. ((assoc spec *!generic-function-fixups* :test #'equal) (if existing (make-early-gf spec lambda-list lambda-list-p existing - argument-precedence-order source-location) + argument-precedence-order source-location + documentation) (bug "The function ~S is not already defined." spec))) (existing (bug "~S should be on the list ~S." @@ -2071,10 +2073,12 @@ bootstrapping. (t (pushnew spec *!early-generic-functions* :test #'equal) (make-early-gf spec lambda-list lambda-list-p nil - argument-precedence-order source-location)))) + argument-precedence-order source-location + documentation)))) (defun make-early-gf (spec &optional lambda-list lambda-list-p - function argument-precedence-order source-location) + function argument-precedence-order source-location + documentation) (let ((fin (allocate-standard-funcallable-instance *sgf-wrapper* *sgf-slots-init*))) (set-funcallable-instance-function @@ -2090,10 +2094,10 @@ bootstrapping. has not been set." fin))))) (setf (gdefinition spec) fin) (!bootstrap-set-slot 'standard-generic-function fin 'name spec) - (!bootstrap-set-slot 'standard-generic-function - fin - 'source - source-location) + (!bootstrap-set-slot 'standard-generic-function fin + 'source source-location) + (!bootstrap-set-slot 'standard-generic-function fin + '%documentation documentation) (set-fun-name fin spec) (let ((arg-info (make-arg-info))) (setf (early-gf-arg-info fin) arg-info) @@ -2404,7 +2408,7 @@ bootstrapping. (setf (getf (getf initargs 'plist) :name) (make-method-spec gf qualifiers specializers)) (let ((new (make-a-method 'standard-method qualifiers arglist - specializers initargs ()))) + specializers initargs (getf initargs :documentation)))) (when existing (remove-method gf existing)) (add-method gf new)))) diff --git a/version.lisp-expr b/version.lisp-expr index 487af48..e01194a 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -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".) -"1.0.9.4" +"1.0.9.5"