aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-03-25 13:32:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-03-25 13:32:44 -0700
commit4599ba0b012827f1a7d64d44a9afe5a6b7aabdf8 (patch)
treedaef918f7e061acd74ae9d237cb28b9432067551 /src
parent2fa4f9ebeaf7b26561d288cc6f6785f788ac9528 (diff)
downloadconsfigurator-4599ba0b012827f1a7d64d44a9afe5a6b7aabdf8.tar.gz
use MUFFLE-WARNINGS function
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r--src/property.lisp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/property.lisp b/src/property.lisp
index f0a89a7..7ff6c92 100644
--- a/src/property.lisp
+++ b/src/property.lisp
@@ -281,9 +281,7 @@ 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)))
(simple-program-error "~A is not a programmatic call to a property." form))
- `(handler-bind ((programmatic-apply-hostattrs
- (lambda (w)
- (invoke-restart (find-restart 'muffle-warning w)))))
+ `(handler-bind ((programmatic-apply-hostattrs #'muffle-warning))
,form))
;; supported ways to write properties are DEFPROP, DEFPROPSPEC and DEFPROPLIST