From 6e3c9bb99383cdd8ebd8bead0cc9df77f87b71b4 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 3 Jun 2021 10:49:04 -0700 Subject: IGNORING-HOSTATTRS: don't fail for not-yet-defined properties Signed-off-by: Sean Whitton --- src/property.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/property.lisp') diff --git a/src/property.lisp b/src/property.lisp index d973dd9..52c040d 100644 --- a/src/property.lisp +++ b/src/property.lisp @@ -323,7 +323,8 @@ Use DEFPROPLIST/DEFPROPSPEC to avoid trouble.")) subroutine, muffle warnings about calling a property with a :HOSTATTRS subroutine programmatically. Use this only when you know that the :HOSTATTRS subroutine does not push any new hostattrs." - (unless (and (listp form) (isprop (car form))) + (unless + (and (listp form) (or (not (fboundp (car form))) (isprop (car form)))) (simple-program-error "~A is not a programmatic call to a property." form)) `(handler-bind ((programmatic-apply-hostattrs #'muffle-warning)) ,form)) -- cgit v1.2.3