Subject: Re: bug#64846: Emacs 29 RC on Windows: White background color flashes on startup, before background color from config takes effect on Windows

From: Eli Zaretskii <[email-masked]>
Date: Tue, 25 Jul 2023 17:33:03 +0300

> From: Yanchi Tóth <[email-masked]>
> Date: Tue, 25 Jul 2023 15:32:33 +0200
> Cc: [email-masked]
> 
> I managed to reproduce with this fairly minimal configuration:
> 
> (set-background-color "#191919")
> (set-foreground-color "burlywood")
> 
> Because the config is much smaller, the flash of white is much shorter, but still noticeable.

Instead of the above, try adding to your early-init file the
following:

  (add-to-list 'default-frame-alist
	       '(background-color . "#191919")
	       '(foreground-color . "burlywood"))