diff options
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r-- | src/propspec.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp index db8f81e..8572cae 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -337,6 +337,12 @@ apply the elements of REQUIREMENTS in reverse order." :desc (lambda (&rest args) (strcat "Unapply: " (apply #'propdesc psym args))) :check (complement (get psym 'check)) + :hostattrs (lambda (&rest args) + ;; run the :HOSTATTRS subroutine but throw away any + ;; new hostattrs; when unapplying, the :HOSTATTRS + ;; subroutine is only to check compatibility + (let ((*host* (shallow-copy-host *host*))) + (apply #'propattrs psym args))) :apply (get psym 'unapply) :unapply (get psym 'papply) :args args))) |