68 |
;; -n format: {a,d,c}OLDSTART LINES-CHANGED |
;; -n format: {a,d,c}OLDSTART LINES-CHANGED |
69 |
("^[adc]\\([0-9]+\\)\\( [0-9]+\\)?$" 1) |
("^[adc]\\([0-9]+\\)\\( [0-9]+\\)?$" 1) |
70 |
) |
) |
71 |
"Alist (REGEXP OLD-IDX NEW-IDX) of regular expressions to match difference |
"Alist of regular expressions to match difference sections in \\[diff] output. |
72 |
sections in \\[diff] output. If REGEXP matches, the OLD-IDX'th |
Each element has the form (REGEXP OLD-IDX NEW-IDX). |
73 |
subexpression gives the line number in the old file, and NEW-IDX'th |
Any text that REGEXP matches identifies one difference hunk |
74 |
subexpression gives the line number in the new file. If OLD-IDX or NEW-IDX |
or the header of a hunk. |
75 |
is nil, REGEXP matches only half a section.") |
|
76 |
|
The OLD-IDX'th subexpression of REGEXP gives the line number |
77 |
|
in the old file, and NEW-IDX'th subexpression gives the line number |
78 |
|
in the new file. If OLD-IDX or NEW-IDX |
79 |
|
is nil, REGEXP matches only half a hunk.") |
80 |
|
|
81 |
(defvar diff-old-file nil |
(defvar diff-old-file nil |
82 |
"This is the old file name in the comparison in this buffer.") |
"This is the old file name in the comparison in this buffer.") |