diff options
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 06a8c2d6..7538a37b 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -82,7 +82,7 @@ ((equal appearance "NSAppearanceNameDarkAqua") (load-theme dark-mode-theme t))))) (add-hook 'mac-effective-appearance-change-hook #'my/set-dark-or-light-theme) - (if (boundp 'mac-effective-appearance-change-hook) + (if (fboundp #'mac-application-state) (my/set-dark-or-light-theme) (load-theme light-mode-theme t))))) (if (eq window-system 'x) |