summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-29 01:12:10 +0100
committerjao <jao@gnu.org>2021-05-29 01:12:10 +0100
commite353321f6fe69846ab2345a36510ddcc8727e6b7 (patch)
tree1d3d3b59ef43540b45691338b9c43bb7088698f4 /init.org
parentd155eab7cf070c7597b0eb1ae2a5109c6621fc6b (diff)
downloadelibs-e353321f6fe69846ab2345a36510ddcc8727e6b7.tar.gz
elibs-e353321f6fe69846ab2345a36510ddcc8727e6b7.tar.bz2
themes: don't use nil to mean default
Diffstat (limited to 'init.org')
-rw-r--r--init.org7
1 files changed, 4 insertions, 3 deletions
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