mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
In vc, abolish the dir-status method.
This commit is contained in:
parent
dd601050e7
commit
b1a765b3a8
13 changed files with 68 additions and 89 deletions
|
|
@ -126,10 +126,11 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
|
|||
((match-end 2) (push (list (match-string 3) 'added) result))))
|
||||
(funcall update-function result)))
|
||||
|
||||
;; -dir-status called from vc-dir, which loads vc, which loads vc-dispatcher.
|
||||
;; dir-status-files called from vc-dir, which loads vc,
|
||||
;; which loads vc-dispatcher.
|
||||
(declare-function vc-exec-after "vc-dispatcher" (code))
|
||||
|
||||
(defun vc-mtn-dir-status (dir update-function)
|
||||
(defun vc-mtn-dir-status-files (dir _files update-function)
|
||||
(vc-mtn-command (current-buffer) 'async dir "status")
|
||||
(vc-run-delayed
|
||||
(vc-mtn-after-dir-status update-function)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue