Commit 2365ab4a authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(diff-sanity-check-hunk): Fix last fix.

parent 7d506bfc
2007-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-sanity-check-hunk): Fix last fix.
2007-02-08 Karl Fogel <kfogel@red-bean.com>
 
* simple.el (fundamental-mode-hook): Declare new hook.
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment