I use two emacs (Aquamcs and text emacs) on my Mac. I usually use text emacs to edit something, so I donβt want to download anything with it.
What I came up with is to check the code in .emacs to exit / break if it is based on emacs text (darwin system but not aquamacs).
(when (and (equal system-type 'darwin) (not (boundp 'aquamacs-version)))
(exit) ??? (break) ????
)
It seems to work, but I don't know how to break out of .emacs. How to do it?
ADDED
I just wanted to speed up the loading of text emacs on my mac, and I thought about breaking out as a solution. Based on helpful answers, I came up with the following code that runs .emacs only when it is not based on emacs text.
(setq inhibit-splash-screen t)
(unless (null window-system)
source
share