check emacs version
use /Applications/Emacs.app/Contents/MacOS/Emacs on Darwin