diff --git a/README.md b/README.md index 0cad2c2..5bbb480 100644 --- a/README.md +++ b/README.md @@ -1026,6 +1026,11 @@ To prevent Emacs from saving customization information to a custom file, set `cu (setq vc-make-backup-files t) (setq kept-old-versions 10) (setq kept-new-versions 10) + +;; Improve Emacs responsiveness by deferring fontification during input +;; +;; NOTE: This may cause delayed syntax highlighting in certain cases +(setq redisplay-skip-fontification-on-input t) ``` It is also recommended to read the following articles: diff --git a/init.el b/init.el index 1c24519..b3a59c3 100644 --- a/init.el +++ b/init.el @@ -104,9 +104,6 @@ (setq truncate-string-ellipsis "…") -;; Improve Emacs' responsiveness by delaying syntax highlighting during input -(setq redisplay-skip-fontification-on-input t) - ;; Disable truncation of printed s-expressions in the message buffer (setq eval-expression-print-length nil eval-expression-print-level nil)