summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-18 16:21:51 +0100
committerAlan Pearce2013-05-18 16:21:51 +0100
commit95830ed17e5e64e4eb4fcdd755eb05677eb580b8 (patch)
treee1b38adbde2f8719d27c7717e0fc4e20dfac0c6b
parent0237a514e03c62b32680c7b9f5a4571f37b6b125 (diff)
downloaddotfiles-95830ed17e5e64e4eb4fcdd755eb05677eb580b8.tar.lz
dotfiles-95830ed17e5e64e4eb4fcdd755eb05677eb580b8.tar.zst
dotfiles-95830ed17e5e64e4eb4fcdd755eb05677eb580b8.zip
Emacs: make JIT fontification faster
-rw-r--r--emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index face66d..3ab0700 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -90,8 +90,9 @@ Values: `desktop', `server', `laptop'")
 (global-font-lock-mode t)
 ;; Allow font-lock-mode to do background parsing
 (setq jit-lock-stealth-time 1
-      jit-lock-stealth-load 5
-      jit-lock-defer-time 0.1)
+      jit-lock-stealth-load 100
+      jit-lock-chunk-size 1000
+      jit-lock-defer-time 0.01)
 
 (use-package solarized-theme
   :ensure t