From 11495538b4fbd5a460b9d7216a018b0eb85ca2ef Mon Sep 17 00:00:00 2001 From: pw <pw> Date: Wed, 6 Jan 1999 13:43:47 +0000 Subject: [PATCH] Fix ENSURE-CLASS-VALUES so that (defclass myclass(standard-class)()) works the same as (defclass myclass()()). Had to map LISP:STANDARD-CLASS to PCL::STANDARD-CLASS when the former was explicitly provided. --- pcl/std-class.lisp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcl/std-class.lisp b/pcl/std-class.lisp index 087445aae..59e98bab0 100644 --- a/pcl/std-class.lisp +++ b/pcl/std-class.lisp @@ -26,7 +26,7 @@ ;;; #+cmu (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/pcl/std-class.lisp,v 1.18 1998/12/20 04:30:22 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/pcl/std-class.lisp,v 1.19 1999/01/06 13:43:47 pw Exp $") ;;; (in-package :pcl) @@ -379,6 +379,9 @@ (cond ((classp s) s) ((not (legal-class-name-p s)) (error "~S is not a class or a legal class name." s)) + #+cmu17 + ((eq s 'lisp:standard-class) ; map from lisp to pcl + *the-class-standard-class*) (t (or (find-class s nil) (setf (find-class s) -- GitLab