diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-05-06 18:41:32 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-05-06 18:41:32 +0000 |
commit | 01321e54973cf7568c5f7bd1f10eab4a8ba68261 (patch) | |
tree | e96dca75473c3c47d5dbdbb285240497d9a161a5 | |
parent | 4d282b155dca19311c42709fc3c65a98c54f3ab3 (diff) | |
download | emacs-01321e54973cf7568c5f7bd1f10eab4a8ba68261.tar.gz |
(diff-make-unified): Fix regexp.
-rw-r--r-- | lisp/diff-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index e95ac7422fe..9b00eae050d 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -976,7 +976,7 @@ a diff with \\[diff-reverse-direction]." "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)) |