Update a few hours later: without having tried it myself, it looks like the formula for emacs has been updated to 24.4:
https://github.com/Homebrew/homebrew/commits/a0b095b/Library...
The Homebrew package for Emacs with Mac-specific changes by a professor named YAMAMOTO Mitsuharu has also been updated:
https://github.com/railwaycat/homebrew-emacsmacport/commits/...
For 2 or 3 years now, whenever I have compared the two, the current version of "Mitsuharu" Emacs has always had fewer Cocoa-related bugs than the current (release) version of "FSF Emacs" (i.e., Emacs without the professor's patches applied). I am writing this comment because this Mitsuharu fellow seems very reticent about promoting his own (excellent) work.
edit: So this did work, I used the .tar.xz with sha256 47e391170db4ca0a3c724530c7050655f6d573a711956b4cd84693c194a9d4fd. One thing to note is that the old 24.3 stable formula has a bunch of patches applied that are no longer required, so you need to edit those out as well (this area: https://github.com/Homebrew/homebrew/blob/master/Library/For...).