diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 04:44:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 04:44:05 +0200 |
commit | 204815e32e609026d1eb563cd690050673ae878f (patch) | |
tree | 2e5b2cea117f34ab4f6a7d6e5c54e648dfc05a40 /.config | |
parent | 4982dd27d6164849e1fa785979d3a5c3df075b5c (diff) |
emacs: Use ‘load-theme’ to load themes
This allows for the passing of the ‘t’ parameter, which avoids me
needing to deal with the whole ‘is this font safe?’ prompt.
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/config.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 1eba1be..67cec9e 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -592,8 +592,8 @@ why not make it random? (use-package color-theme-sanityinc-tomorrow :config (let ((n (random 2))) - (cond ((eq n 0) (color-theme-sanityinc-tomorrow-night)) - ((eq n 1) (color-theme-sanityinc-tomorrow-eighties))))) + (cond ((eq n 0) (load-theme 'sanityinc-tomorrow-night t)) + ((eq n 1) (load-theme 'sanityinc-tomorrow-eighties t))))) #+END_SRC |