commit b3b09659ba56fc41d2734e8a2fac920ffc848cbe from: jn date: Mon Jul 15 16:50:38 2024 UTC Ensure UI is readable if init.el fails early The background is set to black in early-init.el, with the assumption that a dark theme will be loaded. If init.el fails for any reason before the theme is loaded, the user ends up with black-on-black text. One expected case where this can happen is if the Emacs version is <29. The error message from the guardrail in init.el would be unreadable. commit - fccc45cd6f854d8739b63ce9a993074fa0b2bb38 commit + b3b09659ba56fc41d2734e8a2fac920ffc848cbe blob - 08bf4386e4353da2c9598bc069c23803fa934255 blob + 8bd3ddb53959b553ce3af878d1aedd84dff74d7e --- early-init.el +++ early-init.el @@ -36,5 +36,6 @@ ;; Setting the face in here prevents flashes of ;; color as the theme gets activated (background-color . "#000000") + (foreground-color . "#ffffff") (ns-appearance . dark) (ns-transparent-titlebar . t)))