aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2000-10-19 15:42:21 +0000
committerStefan Monnier2000-10-19 15:42:21 +0000
commit9b1ac2f66e27633fba156e823a474d7c63d6df1c (patch)
tree70b33890ceb9926285ac28c942e677454f44f102
parent5de037e0990fa7f38063aaf833caff204350847d (diff)
downloademacs-9b1ac2f66e27633fba156e823a474d7c63d6df1c.tar.gz
emacs-9b1ac2f66e27633fba156e823a474d7c63d6df1c.zip
(diff-find-file-name): Fix regex subgroup number.
-rw-r--r--lisp/diff-mode.el6
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