X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-error.lisp;h=f7d43cb555831ef19ac63080ceb5318d7d47fa6b;hb=b44ca02cb963446ef23fec989786462ce88bca84;hp=2406d7b6b16c0ce606be04b906f8cd0ef6e4c9f5;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/target-error.lisp b/src/code/target-error.lisp index 2406d7b..f7d43cb 100644 --- a/src/code/target-error.lisp +++ b/src/code/target-error.lisp @@ -51,8 +51,9 @@ (when (and (or (not condition) (member restart associated) (not (member restart other))) - (funcall (restart-test-function restart) - condition)) + (or (not condition) + (funcall (restart-test-function restart) + condition))) (res restart)))) (res))))