[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)))
- [elpa] master updated (3bfaa7a -> 185e803), Justin Burkett, 2020/11/03
- [elpa] master 66ae1ac 03/57: README: Note new option, Justin Burkett, 2020/11/03
- [elpa] master 52b7e04 04/57: Switch to using unified diff output (diff -u), Justin Burkett, 2020/11/03
- [elpa] master fb21cc6 08/57: Fix parsing of subtractions in diff -u,
Justin Burkett <=
- [elpa] master f0de403 21/57: Add emacs-26.1 for Travis, Justin Burkett, 2020/11/03
- [elpa] master af74300 01/57: Add vdiff-disable-folding user option, Justin Burkett, 2020/11/03
- [elpa] master 41c2d0a 02/57: Handle error when no overlay at point, Justin Burkett, 2020/11/03
- [elpa] master c1525a8 05/57: Fix problems with diff -u parser at beg and end of file, Justin Burkett, 2020/11/03
- [elpa] master 0312ac8 06/57: Update copyright years, Justin Burkett, 2020/11/03
- [elpa] master bc5e1a7 07/57: Remove debugging message, Justin Burkett, 2020/11/03
- [elpa] master b15b020 10/57: Add diff --minimal as algorithm and fix case args for git, Justin Burkett, 2020/11/03
- [elpa] master 992d07b 14/57: Add travis support, Justin Burkett, 2020/11/03
- [elpa] master 0bfb259 11/57: Add vdiff-debug flag, Justin Burkett, 2020/11/03
- [elpa] master 106a69f 20/57: Fix previous tests for Travis, Justin Burkett, 2020/11/03