mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 05:47:36 +00:00
* vc.el (vc-dired-hook): check the backend returned from vc-responsible-backend' can really handle subdir'.
This commit is contained in:
parent
511ab56a1c
commit
1bd8df7efa
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-06-15 Masatake YAMATO <jet@gyve.org>
|
||||
|
||||
* vc.el (vc-dired-hook): check the backend returned from
|
||||
`vc-responsible-backend' can really handle `subdir'.
|
||||
|
||||
2007-06-15 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* wid-edit.el (widget-add-documentation-string-button): Fix
|
||||
|
|
|
|||
|
|
@ -2216,7 +2216,9 @@ Called by dired after any portion of a vc-dired buffer has been read in."
|
|||
;; if the backend supports it, get the state
|
||||
;; of all files in this directory at once
|
||||
(let ((backend (vc-responsible-backend subdir)))
|
||||
(if (vc-find-backend-function backend 'dir-state)
|
||||
;; check `backend' can really handle `subdir'.
|
||||
(if (and (vc-call-backend backend 'responsible-p subdir)
|
||||
(vc-find-backend-function backend 'dir-state))
|
||||
(vc-call-backend backend 'dir-state subdir)))
|
||||
(forward-line 1)
|
||||
;; erase (but don't remove) the "total" line
|
||||
|
|
|
|||
Loading…
Reference in a new issue