X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/1f5c92ffb2a1c3cb52b01195e664876be7b69047..9794a10840392066ca3f171e36b4abba394567f5:/.emacs.d/lisp/bandali-theme.el diff --git a/.emacs.d/lisp/bandali-theme.el b/.emacs.d/lisp/bandali-theme.el index 63c15d0..fa5911c 100644 --- a/.emacs.d/lisp/bandali-theme.el +++ b/.emacs.d/lisp/bandali-theme.el @@ -24,10 +24,11 @@ ;;; Code: -(add-to-list 'load-path (b/lisp "refinery-theme")) -(with-eval-after-load 'package - (require 'refinery-theme) - (load-theme 'refinery t)) +(when (display-graphic-p) + (add-to-list 'load-path (b/lisp "refinery-theme")) + (with-eval-after-load 'package + (require 'refinery-theme) + (load-theme 'refinery t))) ;; (require 'smart-mode-line) ;; ;; thanks, but no thanks; don't make fixed-width fills.