diff options
author | Chong Yidong <cyd@gnu.org> | 2012-04-26 16:00:47 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-04-26 16:00:47 +0800 |
commit | cb3e7ae07a6ad7c46f5d67984d54f10f19103bef (patch) | |
tree | aa9ca6d11414681b5af651e2d9739865faf2f76a /lisp/emacs-lisp | |
parent | 8b71081d301534a7fa4816530f4c3af61c67d038 (diff) | |
download | emacs-cb3e7ae07a6ad7c46f5d67984d54f10f19103bef.tar.gz emacs-cb3e7ae07a6ad7c46f5d67984d54f10f19103bef.tar.bz2 emacs-cb3e7ae07a6ad7c46f5d67984d54f10f19103bef.zip |
Fixes for diff-hunk-kill.
* lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
value, for symmetry with diff-end-of-hunk.
(diff-split-hunk, diff-find-source-location)
(diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
(diff-bounds-of-hunk, diff-bounds-of-file): New functions.
(diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
compute the relevant hunk or file properly.
(diff-file-junk-re): Add bzr's "modified file" tag.
Fixes: debbugs:6041 debbugs:6005
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions