I recently explored the Emacs Mac Port developed by Yamamoto Mitsuharu. It feels great and I would like to try using it instead of vanilla GNU Emacs. However, I have some code in my init files which is incompatible with the Mac Port version. I would like to know how to conditionally disable this code.
I'm essentially looking for something like this:
(unless (boundp 'emacs-mac-port-version) ;; do this stuff only in vanilla Emacs )
So how can I detect that I am on the Emacs Mac Port from Elisp?