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

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

[elpa] scratch/add-vdiff dc7a5e2 049/258: Add a comment on line-map stru


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff dc7a5e2 049/258: Add a comment on line-map structure
Date: Wed, 17 May 2017 08:13:21 -0400 (EDT)

branch: scratch/add-vdiff
commit dc7a5e22aefca966800f710b7ae9eebb26c651f2
Author: justbur <address@hidden>
Commit: justbur <address@hidden>

    Add a comment on line-map structure
---
 vdiff.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vdiff.el b/vdiff.el
index d3261bd..d7edc74 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -644,6 +644,7 @@ changes under point or on the immediately preceding line."
                         (car b-lines)))
              (b-len (1+ (- b-end b-beg))))
         (cond ((string= code "d")
+               ;; (list line-a line-b a-starts-sub b-starts-sub full-entry)
                (push (list (1- a-beg) b-beg nil t entry) new-map)
                (push (list (1+ a-end) (1+ b-end) nil nil entry) new-map))
               ((string= code "a")
@@ -657,7 +658,6 @@ changes under point or on the immediately preceding line."
                (push (list (1- a-beg) (1- b-beg) nil nil entry) new-map)
                (push (list a-end (+ b-beg a-len) t nil entry) new-map)
                (push (list (1+ a-end) (1+ b-end) nil nil entry) new-map))
-
               (t
                (push (list (1- a-beg) (1- b-beg) nil nil entry) new-map)
                (push (list (1+ a-end) (1+ b-end) nil nil entry) new-map)))))



reply via email to

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