]> git.eshelyaron.com Git - emacs.git/commit
* vc-hooks.el (vc-dir-buffers): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Sep 2009 13:07:50 +0000 (13:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 Sep 2009 13:07:50 +0000 (13:07 +0000)
commitdcbbecd42f2b2a393a90c1fe9ad2b85e55bc7daa
tree4ca464bb7fe27b4ac2de0269e7049fe547d97c56
parent8beeeabbbb8dfce1745464363307bd87521cb5c6
* vc-hooks.el (vc-dir-buffers): New var.
(vc-state-refresh): New function.
(vc-state): Use it.
(vc-after-save): Always ask the backend to recompute the new state.
Always call vc-dir if necessary, using vc-dir-buffers.
* vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
Use vc-dir-buffers.
(vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
(vc-dir-prepare-status-buffer, vc-dir-update)
(vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
Don't call expand-file-name on default-directory.
lisp/ChangeLog
lisp/vc-dir.el
lisp/vc-hooks.el