branch: externals/diff-hl commit 4bf77c6a56eee9f841c8eb518e2a010eb44eec9e Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Fix recent perf regression in flydiff --- diff-hl-flydiff.el | 1 + 1 file changed, 1 insertion(+) diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el index 893254d..4eefa49 100644 --- a/diff-hl-flydiff.el +++ b/diff-hl-flydiff.el @@ -41,6 +41,7 @@ (make-variable-buffer-local 'diff-hl-flydiff-modified-tick) (defun diff-hl-flydiff-buffer-with-head (file &optional backend) + (setq diff-hl-flydiff-modified-tick (buffer-chars-modified-tick)) (diff-hl-diff-buffer-with-head file " *diff-hl-diff*" backend)) (defun diff-hl-flydiff-update ()