Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 521 Bytes

continue.md

File metadata and controls

10 lines (7 loc) · 521 Bytes

continue

(continue [condition])

Invokes the innermost active continue restart — the one a cerror establishes — and returns nil when none is active (unlike abort, this is not an error). Calling it from a handler-bind handler makes the interrupted cerror return nil and execution resume past it.

(handler-bind ((error (lambda (c) (continue))))
  (list :after (cerror "Carry on." "recoverable problem"))) ; => (:AFTER NIL)