* lisp/files.el: Make revert work with diff-buffer-with-file.
commit6a7662bb7d5f9c1905d2177ecf5cf0a0e0f76204
authorBob Rogers <rogers-emacs@rgrjr.dyndns.org>
Mon, 22 Nov 2010 17:57:46 +0000 (22 12:57 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Nov 2010 17:57:46 +0000 (22 12:57 -0500)
tree32d91ccf0aa4d58ba2ced36a00d4b7610afdc99e
parent440b1345f63d5ce7e3924a20779e259e75c6c776
* lisp/files.el: Make revert work with diff-buffer-with-file.
(diff-buffer-internal): New function extracted from diff-buffer-with-file
(diff-buffer-with-file): Use it.
* lisp/vc/diff.el (diff-into-buffer): New fun, extracted from diff.
(diff): Use it.

Fixes: debbugs:7277
lisp/ChangeLog
lisp/files.el
lisp/vc/diff.el