with-undo ( ..a document quot: ( ..a document -- ..b ) -- ..b )


Vocabulary
documents.private

Inputs
documentan object
quota quotation with stack effect ( ..a document -- ..b )


Outputs
None

Definition


: with-undo
( ..a document quot: ( ..a document -- ..b ) -- ..b )
[ t >>inside-undo? ] dip keep f >>inside-undo? drop ; inline