Just a heads-up for folks about a bug I just encountered in the new version 10.0.2 since this broke some legacy code of mine and can cause problems with a standard programming trick in Mathematica.
In Version 10.0.1 the following works correctly:
MapAt[f, Function[z, CreateWindow[]], 2]
gives
Function[z, f[CreateWindow[]]]
Thus respecting the HoldAll
Attribute of Function
.
However in the just-released 10.0.2 this is broken. In 10.0.2 the second argument of the Function
is executed. Thus this
MapAt[f, Function[z, CreateWindow[]], 2]
creates the window and returns
Function[z, f[NotebookObject["Untitled-15"]]]
I have reported this bug to WRI.