# HG changeset patch # User Stefan Monnier # Date 971970141 0 # Node ID 07a2c551b566e3e39530bce264ca3b45ad759dea # Parent 1b8d754b8bfcfc4212ab8c4fa1a7471f41e6bedb (diff-find-file-name): Fix regex subgroup number. diff -r 1b8d754b8bfc -r 07a2c551b566 lisp/diff-mode.el --- a/lisp/diff-mode.el Thu Oct 19 14:55:12 2000 +0000 +++ b/lisp/diff-mode.el Thu Oct 19 15:42:21 2000 +0000 @@ -4,7 +4,7 @@ ;; Author: Stefan Monnier ;; Keywords: patch diff -;; Revision: $Id: diff-mode.el,v 1.31 2000/10/17 15:55:09 monnier Exp $ +;; Revision: $Id: diff-mode.el,v 1.32 2000/10/18 08:50:39 eliz Exp $ ;; This file is part of GNU Emacs. @@ -440,8 +440,8 @@ (error (point-min))))) (header-files (if (looking-at "[-*][-*][-*] \\(\\S-+\\)\\(\\s-.*\\)?\n[-+][-+][-+] \\(\\S-+\\)") - (list (if old (match-string 1) (match-string 2)) - (if old (match-string 2) (match-string 1))) + (list (if old (match-string 1) (match-string 3)) + (if old (match-string 3) (match-string 1))) (forward-line 1) nil)) (fs (append (when (save-excursion