X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fmacros.lisp;h=8dd2df772798b772807cedee219d233813c14c48;hb=3d9d3088982414ca5617caf62bd37b4fecac29b6;hp=3c984929e42bf856b817e92c47938be077c4bd6d;hpb=a736ac10b709b2d40305f0a6e3764afd246a8ef5;p=sbcl.git diff --git a/src/pcl/macros.lisp b/src/pcl/macros.lisp index 3c98492..8dd2df7 100644 --- a/src/pcl/macros.lisp +++ b/src/pcl/macros.lisp @@ -108,8 +108,8 @@ (defun find-class-from-cell (symbol cell &optional (errorp t)) (or (find-class-cell-class cell) (and *create-classes-from-internal-structure-definitions-p* - (structure-type-p symbol) - (find-structure-class symbol)) + (or (structure-type-p symbol) (condition-type-p symbol)) + (ensure-non-standard-class symbol)) (cond ((null errorp) nil) ((legal-class-name-p symbol) (error "There is no class named ~S." symbol))