refactor: refine Windows support and convert use-package :if to conditionals

This commit is contained in:
2026-06-13 08:25:44 +08:00
parent 5c7391dcf8
commit e3dda7fd65
8 changed files with 95 additions and 95 deletions

View File

@@ -73,7 +73,7 @@
:init
(if *is-android* (add-hook 'after-init-hook 'god-mode-all))
:config
(unless *is-android* (which-key-enable-god-mode-support))
(unless (or *is-android* (not use-package-always-defer)) (which-key-enable-god-mode-support))
(setq god-mode-enable-function-key-translation nil
god-exempt-major-modes
(cl-union '(diff-mode exwm-mode) god-exempt-major-modes :test 'equal)