handle case where ns-system-appearance is nil

This commit is contained in:
larstvei 2025-01-06 18:35:46 +01:00
parent b084391321
commit 42056faf55

View File

@ -393,7 +393,7 @@
(let ((theme (intern (concat "nano-" (symbol-name variant)))))
(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