mirror of
https://github.com/larstvei/dot-emacs.git
synced 2025-01-18 03:20:12 +00:00
handle case where ns-system-appearance is nil
This commit is contained in:
parent
b084391321
commit
42056faf55
2
init.org
2
init.org
@ -393,7 +393,7 @@
|
|||||||
(let ((theme (intern (concat "nano-" (symbol-name variant)))))
|
(let ((theme (intern (concat "nano-" (symbol-name variant)))))
|
||||||
(load-theme theme t)))
|
(load-theme theme t)))
|
||||||
|
|
||||||
(load-nano-theme (if (boundp 'ns-system-appearance) ns-system-appearance 'light))
|
(load-nano-theme (or (bound-and-true-p ns-system-appearance) 'light))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user