all repos ā€” archive/dotfiles @ ca551892f1491f46de7fca055b97fcce90aa5bfa

Superseded by nixfiles

Emacs: Remove JIT/deferred font-locking
Alan Pearce alan.pearce@spotcap.com
Fri, 29 Apr 2016 11:02:16 +0200
commit

ca551892f1491f46de7fca055b97fcce90aa5bfa

parent

441224ff2e7e10c8e6e393b0d0cf2c9b76b660bf

1 files changed, 3 insertions(+), 7 deletions(-)

jump to
M tag-emacs/emacs.d/init.org ā†’ tag-emacs/emacs.d/init.org
@@ -177,14 +177,10 @@ ((eq system-type 'darwin)       (ap/set-fonts "Source Code Pro" 14 "Input Sans" 14))))
 #+END_SRC
 
-Allow font-lock-mode to do background parsing.  Iā€™m not really sure if
-these settings are particularly useful
+Reduce font locking in dired mode in particular.  I might want to
+re-increase it in other places, but in dired the maximum is too high
 #+BEGIN_SRC emacs-lisp
-  (setq jit-lock-stealth-time 2
-        jit-lock-stealth-load 100
-        jit-lock-chunk-size 1000
-        jit-lock-defer-time 1
-        font-lock-maximum-decoration '((dired-mode . 1)
+  (setq font-lock-maximum-decoration '((dired-mode . 1)
                                        (t . 1)))
 #+END_SRC