diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-02-07 17:08:36 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-02-07 17:08:36 +0000 |
commit | a3ee90d98c9ea11877df683a39d394af97e7dfae (patch) | |
tree | bb70ee87ca7436e9634abe31d308da451c13dc5d /lisp/diff-mode.el | |
parent | ed3e1544d4a66e6eb2d30a0c783bf1cc8b644630 (diff) | |
download | emacs-a3ee90d98c9ea11877df683a39d394af97e7dfae.tar.gz |
*** empty log message ***
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r-- | lisp/diff-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index edf7317f2b4..8d61e0ba0fc 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -1115,7 +1115,7 @@ Only works for unified diffs." ;; A context diff. ((eq (char-after) ?*) - (if (not (looking-at "\\*\\{15\\}\n\\*\\*\\* \\([0-9]+\\),\\([0-9]+\\) \\*\\*\\*\\*$")) + (if (not (looking-at "\\*\\{15\\}\n\\*\\*\\* \\([0-9]+\\),\\([0-9]+\\) \\*\\*\\*\\*")) (error "Unrecognized context diff first hunk header format") (forward-line 2) (diff-sanity-check-context-hunk-half @@ -1131,7 +1131,7 @@ Only works for unified diffs." ;; A unified diff. ((eq (char-after) ?@) (if (not (looking-at - "@@ -[0-9]+,\\([0-9]+\\) \\+[0-9]+,\\([0-9]+\\) @@$")) + "@@ -[0-9]+,\\([0-9]+\\) \\+[0-9]+,\\([0-9]+\\) @@")) (error "Unrecognized unified diff hunk header format") (let ((before (string-to-number (match-string 1))) (after (string-to-number (match-string 2)))) |