This PR adds a theme detection method for Windows that uses w32-read-registry, which is the default unless auto-dark-allow-powershell is enabled.
A previous version of this PR used cmd and the reg command to query the registry, which is at most equally slower to the PowerShell implementation. Emacs still lacks multi-threading, that's why. :smile:
This PR adds a theme detection method for Windows that uses
w32-read-registry
, which is the default unlessauto-dark-allow-powershell
is enabled.A previous version of this PR used
cmd
and thereg
command to query the registry, which is at most equally slower to the PowerShell implementation. Emacs still lacks multi-threading, that's why. :smile:Fixes #30