(diff-make-unified): Fix regexp.
This commit is contained in:
parent
d2c846aa50
commit
4c174fb4fa
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue