Additional information:

This change allows applescripts like the following to work:

    tell application "Emacs"
         set the bounds of the first window to {100, 100, 500, 500}
    end tell

Without the change, the following error message is issued:

    test.oas:23:89: execution error: Emacs got an error: Can’t set bounds of window 1 to {100, 100, 500, 500}. (-10006)

    -- Anders Lindgren