Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 4 Oct 2010 00:26:41 +0000 (17:26 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 4 Oct 2010 00:26:41 +0000 (17:26 -0700)
commit82fb8701c275cccf4c06e6b7b0a9364ae2072803
treea0fb4a919813353d000c1f93ba839835cbc48076
parenta41c2e6d330243fa7b5d1537d5efb211f1c0d30c
Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
log-outgoing commands.
* lisp/vc/vc.el (vc-log-internal-common): Add a new argument and use it
to create a buffer local revert-buffer-function variable.
(vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
revert-buffer-function lambda.
lisp/ChangeLog
lisp/vc/vc.el