From e353321f6fe69846ab2345a36510ddcc8727e6b7 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 29 May 2021 01:12:10 +0100 Subject: themes: don't use nil to mean default --- init.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index 3f4ed96..41936d9 100644 --- a/init.org +++ b/init.org @@ -420,8 +420,9 @@ (defun jao-themes-setup () (let ((dark (jao-colors-scheme-dark-p))) - (when window-system - (load-theme (if dark 'jao-greenish 'jao-light) t)))) + (if window-system + (load-theme (if dark 'jao-greenish 'jao-light) t) + (load-theme 'modus-vivendi t)))) (when (not (eq window-system 'pgtk)) (jao-themes-setup)) @@ -646,7 +647,7 @@ (when (jao-colors-scheme-dark-p) (setq jao-minibuffer-active-buffer-line-color "grey35" jao-minibuffer-inactive-buffer-line-color "grey20")) - (jao-minibuffer-add-mode-line 90) + (when window-system (jao-minibuffer-add-mode-line 90)) #+end_src *** Mode line toggle #+begin_src emacs-lisp -- cgit v1.2.3