# HG changeset patch # User Oleksandr Gavenko # Date 1675296863 -7200 # Node ID 2b93801abc3c0aaaa84a6b87c2ccc91cd26fdb36 # Parent 1a21553009b723367f801a3a086c7915c2836892 Disable diff-font-lock-syntax as it visits files from Git and this is extremely slow in Cygwin+antivirus. diff -r 1a21553009b7 -r 2b93801abc3c .emacs-my --- a/.emacs-my Sat Dec 24 21:43:47 2022 +0200 +++ b/.emacs-my Thu Feb 02 02:14:23 2023 +0200 @@ -2743,7 +2743,9 @@ ;; Since 27.1 it is enabled during font-lock. Need to disable explicitly. (setq diff-refine nil) ;; https://emacs.stackexchange.com/questions/61760/lags-when-navigating-vc-root-diff-buffer/ -(setq diff-font-lock-syntax 'hunk-only) +;; Disable the feature as it visits files from Git and this is extremely slow in Cygwin+antivirus. +;; nil / t / hunk-only / hunk-also +(setq diff-font-lock-syntax 'nil) (when (and window-system (< emacs-major-version 26)) (my--eval-after-load diff-mode