Commit 5af72a47 authored by Juri Linkov's avatar Juri Linkov

* lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'

buffer-locally to lambda that re-runs the vc diff command.  (Bug#6447)
parent 8f804316
2010-06-24 Juri Linkov <juri@jurta.org>
* vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
buffer-locally to lambda that re-runs the vc diff command.
(Bug#6447)
2010-06-24 Chong Yidong <cyd@stupidchicken.com>
* kmacro.el (kmacro-call-macro): Don't issue hint message if the
......
......@@ -1547,6 +1547,9 @@ returns t if the buffer had changes, nil otherwise."
(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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment