Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1188.mcz==================== Summary ====================
Name: System-mt.1188
Author: mt
Time: 4 November 2020, 11:50:14.56762 am
UUID: 57645a78-976f-ed45-b29d-0a3263b10d3d
Ancestors: System-mt.1187
Minor clean up and speed up.
=============== Diff against System-mt.1187 ===============
Item was changed:
----- Method: Preferences class>>setPreference:toValue:during: (in category 'get/set') -----
setPreference: prefSymbol toValue: anObject during: aBlock
+ | previousValue |
+ previousValue := self valueOfPreference: prefSymbol.
+ self setPreference: prefSymbol toValue: anObject.
+ ^ aBlock ensure: [self setPreference: prefSymbol toValue: previousValue]!
- (self valueOfPreference: prefSymbol) in: [:previous |
- self setPreference: prefSymbol toValue: anObject.
- ^ aBlock ensure: [self setPreference: prefSymbol toValue: previous]]!