From 68c20a4983cafc63c53bd65111b85925fc7db185 Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 20 Jul 1993 15:36:36 +0000 Subject: [PATCH] Fix PCL describe to work again. --- code/describe.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/describe.lisp b/code/describe.lisp index 889a2272e..3b869ceff 100644 --- a/code/describe.lisp +++ b/code/describe.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/describe.lisp,v 1.25 1993/06/23 19:32:27 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/describe.lisp,v 1.26 1993/07/20 15:36:36 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -140,8 +140,8 @@ (format t "~&~S is a ~S." x (type-of x))) (defun describe-instance (x &optional (kind :structure)) - (cond ((and (fboundp 'pcl::std-instance-p) - (pcl::std-instance-p x)) + (cond ((let ((so-class (find-class 'standard-object nil))) + (and so-class (typep x so-class))) (pcl::describe-object x *standard-output*)) (t (format t "~&~S is a ~(~A~) of type ~A." x kind (type-of x)) -- GitLab