Modify the path of emacs.
Install emacs with brew-cask, instead brew.