diff options
| author | Stefan Monnier | 2000-10-19 15:42:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-10-19 15:42:21 +0000 |
| commit | 9b1ac2f66e27633fba156e823a474d7c63d6df1c (patch) | |
| tree | 70b33890ceb9926285ac28c942e677454f44f102 | |
| parent | 5de037e0990fa7f38063aaf833caff204350847d (diff) | |
| download | emacs-9b1ac2f66e27633fba156e823a474d7c63d6df1c.tar.gz emacs-9b1ac2f66e27633fba156e823a474d7c63d6df1c.zip | |
(diff-find-file-name): Fix regex subgroup number.
| -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 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> | 5 | ;; Author: Stefan Monnier <monnier@cs.yale.edu> |
| 6 | ;; Keywords: patch diff | 6 | ;; Keywords: patch diff |
| 7 | ;; Revision: $Id: diff-mode.el,v 1.31 2000/10/17 15:55:09 monnier Exp $ | 7 | ;; Revision: $Id: diff-mode.el,v 1.32 2000/10/18 08:50:39 eliz Exp $ |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| @@ -440,8 +440,8 @@ Non-nil OLD means that we want the old file." | |||
| 440 | (error (point-min))))) | 440 | (error (point-min))))) |
| 441 | (header-files | 441 | (header-files |
| 442 | (if (looking-at "[-*][-*][-*] \\(\\S-+\\)\\(\\s-.*\\)?\n[-+][-+][-+] \\(\\S-+\\)") | 442 | (if (looking-at "[-*][-*][-*] \\(\\S-+\\)\\(\\s-.*\\)?\n[-+][-+][-+] \\(\\S-+\\)") |
| 443 | (list (if old (match-string 1) (match-string 2)) | 443 | (list (if old (match-string 1) (match-string 3)) |
| 444 | (if old (match-string 2) (match-string 1))) | 444 | (if old (match-string 3) (match-string 1))) |
| 445 | (forward-line 1) nil)) | 445 | (forward-line 1) nil)) |
| 446 | (fs (append | 446 | (fs (append |
| 447 | (when (save-excursion | 447 | (when (save-excursion |