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

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

[elpa] externals/vlf 47c154c 194/310: Fix detection of good chunk start.


From: Stefan Monnier
Subject: [elpa] externals/vlf 47c154c 194/310: Fix detection of good chunk start.
Date: Sat, 28 Nov 2020 00:33:14 -0500 (EST)

branch: externals/vlf
commit 47c154cc1fc49107cb7a6089e9dbf0aaa600fc21
Author: Andrey Kotlarski <m00naticus@gmail.com>
Commit: Andrey Kotlarski <m00naticus@gmail.com>

    Fix detection of good chunk start.
---
 vlf-base.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlf-base.el b/vlf-base.el
index d06d03f..578891f 100644
--- a/vlf-base.el
+++ b/vlf-base.el
@@ -253,7 +253,7 @@ Return number of bytes moved back for proper decoding."
                                  buffer-file-coding-system t)))))
                   (if strict
                       (not (zerop diff))
-                    (or (< diff 0) (< 3 diff)))))
+                    (or (< diff -3) (< 0 diff)))))
       (setq shift (1+ shift)
             safe-start (1- safe-start)
             chunk-size (1+ chunk-size))



reply via email to

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