aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-05-06 18:41:32 +0000
committerStefan Monnier2004-05-06 18:41:32 +0000
commit4c174fb4fa9ac9cd3156396129dd82ffed161a31 (patch)
tree07828199c6ed014b04019e1f7a959bd8247e5c1b
parentd2c846aa5023f02928b3343d9d3bb863828f50c5 (diff)
downloademacs-4c174fb4fa9ac9cd3156396129dd82ffed161a31.tar.gz
emacs-4c174fb4fa9ac9cd3156396129dd82ffed161a31.zip
(diff-make-unified): Fix regexp.
-rw-r--r--lisp/diff-mode.el2
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]."
976 "Turn context diffs into unified diffs if applicable." 976 "Turn context diffs into unified diffs if applicable."
977 (if (save-excursion 977 (if (save-excursion
978 (goto-char (point-min)) 978 (goto-char (point-min))
979 (looking-at "\\*\\*\\* ")) 979 (and (looking-at diff-hunk-header-re) (eq (char-after) ?*)))
980 (let ((mod (buffer-modified-p))) 980 (let ((mod (buffer-modified-p)))
981 (unwind-protect 981 (unwind-protect
982 (diff-context->unified (point-min) (point-max)) 982 (diff-context->unified (point-min) (point-max))