aboutsummaryrefslogtreecommitdiff
path: root/src/propspec.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r--src/propspec.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp
index 8572cae..d1fabd1 100644
--- a/src/propspec.lisp
+++ b/src/propspec.lisp
@@ -336,7 +336,8 @@ apply the elements of REQUIREMENTS in reverse order."
:lambda (proplambda psym)
:desc (lambda (&rest args)
(strcat "Unapply: " (apply #'propdesc psym args)))
- :check (complement (get psym 'check))
+ :check (when-let ((check (get psym 'check)))
+ (complement check))
:hostattrs (lambda (&rest args)
;; run the :HOSTATTRS subroutine but throw away any
;; new hostattrs; when unapplying, the :HOSTATTRS