diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-25 13:32:44 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-25 13:32:44 -0700 |
commit | 4599ba0b012827f1a7d64d44a9afe5a6b7aabdf8 (patch) | |
tree | daef918f7e061acd74ae9d237cb28b9432067551 /src | |
parent | 2fa4f9ebeaf7b26561d288cc6f6785f788ac9528 (diff) | |
download | consfigurator-4599ba0b012827f1a7d64d44a9afe5a6b7aabdf8.tar.gz |
use MUFFLE-WARNINGS function
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r-- | src/property.lisp | 4 |
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 |