From 9788b1235ce4a74d303074ac88036715ac71de28 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 29 Apr 2020 02:17:42 -0400 Subject: [PATCH] Disable jit-lock Deferred & stealth font-locking has produced a fair number of obscure bugs. It's just not worth the trouble. --- core/core.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/core.el b/core/core.el index 7d0596ba7..288013d96 100644 --- a/core/core.el +++ b/core/core.el @@ -274,11 +274,6 @@ users).") ;; quickly self-correct. (setq fast-but-imprecise-scrolling t) -;; Font locking is the source of much slowness in Emacs. jit-lock-mode tries to -;; defer fontification until the user is idle. This should help... in theory. -(setq jit-lock-defer-time 0 ; only defer while processing input - jit-lock-stealth-time 2) ; fontify the rest of the buffer after a delay - ;; Resizing the Emacs frame can be a terribly expensive part of changing the ;; font. By inhibiting this, we halve startup times, particularly when we use ;; fonts that are larger than the system default (which would resize the frame).