From aea6385395091b21803a97b63b82f824e55b68d3 Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Wed, 22 Apr 2009 19:15:06 +0000 Subject: [PATCH] 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. --- src/pcl/documentation.lisp | 2 +- version.lisp-expr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 1.7.10.4