+
+if [ "${TERM#eterm}" = "${TERM}" ]; then
+ # We set EDITOR, VISUAL, and the "emacs" alias to the no-window
+ # version because it's so much faster than gtk emacs. (Note: the
+ # environment variables are currently set using "eselect" in
+ # Gentoo.) The exception for "eterm" that we've made here is to
+ # avoid launching emacs-nw within emacs-nw itself; in multi-term,
+ # for example, where $TERM is "eterm-color".
+ alias emacs='emacs --no-window-system'
+fi
+