Mercurial > emacs
diff lisp/vc/vc.el @ 109416:c3ebf31421b2
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Thu, 24 Jun 2010 22:51:08 +0000 |
parents | e93288477c43 50dd8d98f75b |
children | 810852b2385b |
line wrap: on
line diff
--- a/lisp/vc/vc.el Tue Jun 22 22:50:34 2010 +0000 +++ b/lisp/vc/vc.el Thu Jun 24 22:51:08 2010 +0000 @@ -1547,6 +1547,9 @@ (message "%s" (cdr messages)) nil) (diff-mode) + (set (make-local-variable 'revert-buffer-function) + `(lambda (ignore-auto noconfirm) + (vc-diff-internal ,async ',vc-fileset ,rev1 ,rev2 ,verbose))) ;; Make the *vc-diff* buffer read only, the diff-mode key ;; bindings are nicer for read only buffers. pcl-cvs does the ;; same thing.