(diff-beginning-of-file-and-junk): New function.
commitfd69179929b3a9210ce9f4a49dfcacfe1b6d552e
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 Jul 2007 21:26:34 +0000 (22 21:26 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 Jul 2007 21:26:34 +0000 (22 21:26 +0000)
tree5c97bce0b1f66548b27b5d523716b890f9530e5b
parent53cc90abac468db36ec45f7f67c4389f8b134165
(diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.
lisp/ChangeLog
lisp/diff-mode.el