Commit f060b622 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(diff-beginning-of-file-and-junk): If we're on the

Index: line, don't search backward for the previous one.
parent 73dd622f
2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-beginning-of-file-and-junk): If we're on the
Index: line, don't search backward for the previous one.
2008-02-10 ,AF(Bvar Arnfj,Av(Br,Ap(B Bjarmason <avar@cpan.org> (tiny change)
 
* net/rcirc.el (rcirc-url-regexp): Replace definition by copying
......@@ -489,6 +489,7 @@ data such as \"Index: ...\" and such."
(diff-file-next)
(setq file (point)))
(let ((index (save-excursion
(forward-line 1) ;In case we're looking at "Index:".
(re-search-backward "^Index: " prevhunk t))))
(when index (setq file index))
(if (<= file start)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment