You don't need `&&`.

Also, I think it is better to do this at the very beginning.  Some lines from `if [ "$EMACS" = 'emacs-snapshot' ]` can be removed.