diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-10-19 15:42:21 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-10-19 15:42:21 +0000 |
commit | 9b1ac2f66e27633fba156e823a474d7c63d6df1c (patch) | |
tree | 70b33890ceb9926285ac28c942e677454f44f102 /lisp/diff-mode.el | |
parent | 5de037e0990fa7f38063aaf833caff204350847d (diff) | |
download | emacs-9b1ac2f66e27633fba156e823a474d7c63d6df1c.tar.gz |
(diff-find-file-name): Fix regex subgroup number.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r-- | lisp/diff-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index b9c3f393d6d..2959b650ec6 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -4,7 +4,7 @@ ;; Author: Stefan Monnier <monnier@cs.yale.edu> ;; 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 @@ Non-nil OLD means that we want the old file." (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 |