DescriptionFix 153: \once\set properly restores the context property
\once\set works by installing a finalization hook in the iterator.
To restore the context property value before the \once\set, we simply
cache the old value and pass it to the finalization hook as third
argument. The finalizatino hook then sends a SetProperty event with
the old value rather than an UnsetProperty event, which reverts the
value to the default.
Patch Set 1 #Patch Set 2 : Add regtest to show that subsequent and double \once\set calls work properly, too #
Total comments: 12
MessagesTotal messages: 9
|