From 58f52de9124438c00c667df87a85219a7842757e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 31 Mar 2020 01:00:05 -0400 Subject: [PATCH] inhibit-compacting-font-caches = t --- core/core.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/core.el b/core/core.el index 1e1099663..f7e02131d 100644 --- a/core/core.el +++ b/core/core.el @@ -272,16 +272,16 @@ users).") ;; Don't ping things that look like domain names. (setq ffap-machine-p-known 'reject) +;; Font compacting can be terribly expensive, especially for rendering icon +;; fonts on Windows. Whether it has a noteable affect on Linux and Mac hasn't +;; been determined, but we inhibit it there anyway. +(setq inhibit-compacting-font-caches t) + ;; Performance on Windows is considerably worse than elsewhere, especially if ;; WSL is involved. We'll need everything we can get. (when IS-WINDOWS ;; Reduce the workload when doing file IO - (setq w32-get-true-file-attributes nil) - - ;; Font compacting can be terribly expensive, especially for rendering icon - ;; fonts on Windows. Whether it has a noteable affect on Linux and Mac hasn't - ;; been determined. - (setq inhibit-compacting-font-caches t)) + (setq w32-get-true-file-attributes nil)) ;; Remove command line options that aren't relevant to our current OS; means ;; slightly less to process at startup.