From: Nikodemus Siivola Date: Wed, 22 Apr 2009 19:15:06 +0000 (+0000) Subject: 1.0.27.21: more careful (SETF DOCUMENTATION) for functions X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=aea6385395091b21803a97b63b82f824e55b68d3;p=sbcl.git 1.0.27.21: more careful (SETF DOCUMENTATION) for functions * Use VALID-FUNCTION-NAME-P to check if we should store the docstring: previously we stored docstrings for anonymous functions under names like (LAMBDA (X)) -- Not Good. --- diff --git a/src/pcl/documentation.lisp b/src/pcl/documentation.lisp index d957392..cb4c2a7 100644 --- a/src/pcl/documentation.lisp +++ b/src/pcl/documentation.lisp @@ -60,7 +60,7 @@ new-value)) (function (let ((name (%fun-name x))) - (when (and name (typep name '(or symbol cons))) + (when (valid-function-name-p name) (setf (info :function :documentation name) new-value))))) new-value) diff --git a/version.lisp-expr b/version.lisp-expr index c1b6640..217b7f3 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.27.20" +"1.0.27.21"