emacs: use theme only in gui mode