aboutsummaryrefslogtreecommitdiff
path: root/src/propspec.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-20 14:03:34 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-20 14:03:34 -0700
commit847520da96836aaff641c4c82b87511fc65770c9 (patch)
tree18cfce3ea44587c4bd2d1962d6985a4a40940f30 /src/propspec.lisp
parentd39ccc1403762b19b9966493342867b115294a2e (diff)
downloadconsfigurator-847520da96836aaff641c4c82b87511fc65770c9.tar.gz
add and export WITH-PRESERVE-HOSTATTRS
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r--src/propspec.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp
index 99eaa4f..67e8c18 100644
--- a/src/propspec.lisp
+++ b/src/propspec.lisp
@@ -343,7 +343,7 @@ apply the elements of REQUIREMENTS in reverse order."
;; 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*)))
+ (with-preserve-hostattrs
(apply #'propattrs psym args)))
:apply (get psym 'unapply)
:unapply (get psym 'papply)