changeset 45198:0f3260023919

(diff-regexp-alist): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 08 May 2002 21:42:32 +0000
parents 0b6da8b7d7ac
children fc5298a6be26
files lisp/diff.el
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff.el	Wed May 08 21:32:00 2002 +0000
+++ b/lisp/diff.el	Wed May 08 21:42:32 2002 +0000
@@ -68,11 +68,15 @@
     ;; -n format: {a,d,c}OLDSTART LINES-CHANGED
     ("^[adc]\\([0-9]+\\)\\( [0-9]+\\)?$" 1)
     )
-  "Alist (REGEXP OLD-IDX NEW-IDX) of regular expressions to match difference
-sections in \\[diff] output.  If REGEXP matches, the OLD-IDX'th
-subexpression gives the line number in the old file, and NEW-IDX'th
-subexpression gives the line number in the new file.  If OLD-IDX or NEW-IDX
-is nil, REGEXP matches only half a section.")
+  "Alist of regular expressions to match difference sections in \\[diff] output.
+Each element has the form (REGEXP OLD-IDX NEW-IDX).
+Any text that REGEXP matches identifies one difference hunk
+or the header of a hunk.
+
+The OLD-IDX'th subexpression of REGEXP gives the line number
+in the old file, and NEW-IDX'th subexpression gives the line number
+in the new file.  If OLD-IDX or NEW-IDX
+is nil, REGEXP matches only half a hunk.")
 
 (defvar diff-old-file nil
   "This is the old file name in the comparison in this buffer.")