Mercurial > emacs
changeset 55392:480f9d542579
(diff-make-unified): Fix regexp.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 06 May 2004 18:41:32 +0000 |
parents | 08fc64a3a355 |
children | 87fc355c8bf5 |
files | lisp/diff-mode.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))