From 42056faf55274ddb3fc8117c5df922dfdd9c1198 Mon Sep 17 00:00:00 2001 From: larstvei Date: Mon, 6 Jan 2025 18:35:46 +0100 Subject: [PATCH] handle case where ns-system-appearance is nil --- init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.org b/init.org index 5722ca6..9acaf9a 100644 --- a/init.org +++ b/init.org @@ -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