* .emacs.d/lisp/bandali-erc.el: Don't set erc-lurker-hide-list.
[~bandali/configs] / .emacs.d / lisp / bandali-theme.el
index 63c15d0..fa5911c 100644 (file)
 
 ;;; 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.