# HG changeset patch # User Stefan Monnier # Date 1083868892 0 # Node ID 480f9d542579dbd64d126fd92598f83c99548d9b # Parent 08fc64a3a355e56a97aaa181c708c4a5960e3766 (diff-make-unified): Fix regexp. diff -r 08fc64a3a355 -r 480f9d542579 lisp/diff-mode.el --- a/lisp/diff-mode.el Thu May 06 15:59:42 2004 +0000 +++ b/lisp/diff-mode.el Thu May 06 18:41:32 2004 +0000 @@ -976,7 +976,7 @@ "Turn context diffs into unified diffs if applicable." (if (save-excursion (goto-char (point-min)) - (looking-at "\\*\\*\\* ")) + (and (looking-at diff-hunk-header-re) (eq (char-after) ?*))) (let ((mod (buffer-modified-p))) (unwind-protect (diff-context->unified (point-min) (point-max))