summaryrefslogtreecommitdiffstats
path: root/.emacs.d/lisp/bandali-theme.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-11-22 00:20:17 -0500
committerAmin Bandali <bandali@gnu.org>2020-11-22 00:20:17 -0500
commitadba94a76d9411bc52b04bfb9b442f4c6c21c285 (patch)
treee775a66938b611dbe1d34f3ad9ab2079f9d8c336 /.emacs.d/lisp/bandali-theme.el
parentb0d54e4ea8219eaefe380b67365f0384ad280e36 (diff)
downloadconfigs-adba94a76d9411bc52b04bfb9b442f4c6c21c285.tar.gz
configs-adba94a76d9411bc52b04bfb9b442f4c6c21c285.tar.xz
configs-adba94a76d9411bc52b04bfb9b442f4c6c21c285.zip
A few accumulated changes
Diffstat (limited to '.emacs.d/lisp/bandali-theme.el')
-rw-r--r--.emacs.d/lisp/bandali-theme.el9
1 files changed, 5 insertions, 4 deletions
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.