diff options
-rw-r--r-- | src/property.lisp | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |