From bbc6f19381de7c527b52d9340ba1f8b277bb3294 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 6 Sep 2019 15:40:38 -0400 Subject: [PATCH] Ignore X resources for Emacs 27+ A negligible boost in startup speed. --- early-init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/early-init.el b/early-init.el index a4b3682b8..25005c3ef 100644 --- a/early-init.el +++ b/early-init.el @@ -20,3 +20,8 @@ ;; font. By inhibiting this, we easily halve startup times with fonts that are ;; larger than the system default. (setq frame-inhibit-implied-resize t) + +;; Ignore X resources; its settings would be redundant with the other settings +;; in this file and can conflict with later config (particularly where the +;; cursor color is concerned). +(advice-add #'x-apply-session-resources :override #'ignore)