X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/1f5c92ffb2a1c3cb52b01195e664876be7b69047..316a13b4e978ecdd7a5d4133715230b65321007e:/.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.