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

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

[elpa] master fb21cc6 08/57: Fix parsing of subtractions in diff -u


From: Justin Burkett
Subject: [elpa] master fb21cc6 08/57: Fix parsing of subtractions in diff -u
Date: Tue, 3 Nov 2020 14:32:18 -0500 (EST)

branch: master
commit fb21cc64533d1e90cd40367b957eacfce5922327
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Fix parsing of subtractions in diff -u
---
 vdiff.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vdiff.el b/vdiff.el
index ebab055..f9a9a19 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -606,7 +606,7 @@ an addition when compared to other vdiff buffers."
                          ;; subtraction
                          (push
                           (list (cons beg-a (if (= (car lines) 1) 1 (1- (car 
lines))))
-                                (cons nil beg-b))
+                                (cons (1+ beg-b) nil))
                           res)
                        (cl-assert (or (looking-at-p "+") (eobp)))
                        (let ((beg-b (cdr lines)))



reply via email to

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