Enabling AppleScript makes automatic testing of the NextStep user interface easier. See http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=9f94c709b1bb29e275fe6546d22c58a78072672f for details. -- Anders Lindgren