+2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
+ (bug#4368).
+
2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
* calendar/time-date.el (autoload):
(interactive)
(diff-beginning-of-hunk)
(let* ((start (point))
- (nexthunk (when (re-search-forward diff-hunk-header-re nil t)
+ ;; Search the second match, since we're looking at the first.
+ (nexthunk (when (re-search-forward diff-hunk-header-re nil t 2)
(match-beginning 0)))
(firsthunk (ignore-errors
(goto-char start)