emacs.d: prevent errors when running under emacs.no_x11