[emacs] Only enable themes and custom fonts in graphical mode