mxcl/homebrew — pull request #12745 by deasmi (2012-06-11 09:35:37+00:00)
Title: Fix for issue #12315.

Submitted fix (#12350) for #12315 never merged and won't
apply against head with emacs 24.1
This is a replacement against HEAD today with emacs 24.1

Replaced symlink in bin/emacs with a wrapper script that avoids
cocoa emacs starting when called from command line.
cocoa emacs binary when invoked from command line will open cocoa window
but as not invoked from an App bundle will not work correctly