emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/diff-hl 4bf77c6: Fix recent perf regression in flydiff


From: ELPA Syncer
Subject: [elpa] externals/diff-hl 4bf77c6: Fix recent perf regression in flydiff
Date: Sun, 4 Apr 2021 22:57:07 -0400 (EDT)

branch: externals/diff-hl
commit 4bf77c6a56eee9f841c8eb518e2a010eb44eec9e
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]