Mercurial > emacs
diff lisp/vc-rcs.el @ 94003:2ecb2ea8d5b5
Change `dir-status' to not take (and pass) status-buffer.
(vc-status-create-fileinfo): Make `extra' optional.
(vc-status-busy): New fun.
(vc-status-menu-map): Use it.
(vc-status-crt-marked): Remove.
(vc-status-update): Rename from vc-status-add-entries.
Add argument so as to prevent addition of entries. Rewrite.
(vc-update-vc-status-buffer): Remove.
(vc-status-refresh): Don't remove old entries, set them to
up-to-date instead. Also do it after the update is complete.
(vc-status-marked-files): ¦Ç-reduce.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 11 Apr 2008 15:17:59 +0000 |
parents | 520490ae1b9a |
children | ad6c174910db |
line wrap: on
line diff
--- a/lisp/vc-rcs.el Fri Apr 11 13:34:14 2008 +0000 +++ b/lisp/vc-rcs.el Fri Apr 11 15:17:59 2008 +0000 @@ -182,7 +182,7 @@ (vc-rcs-state file))))) ;; XXX Experimental function for the vc-dired replacement. -(defun vc-rcs-dir-status (dir update-function status-buffer) +(defun vc-rcs-dir-status (dir update-function) ;; XXX: quick hack, there should be a better way to do this, ;; but it's not worse than vc-dired :-). (let ((flist (vc-expand-dirs (list dir))) @@ -191,7 +191,7 @@ (let ((state (vc-state file)) (frel (file-relative-name file))) (push (list frel state) result))) - (funcall update-function result status-buffer))) + (funcall update-function result))) (defun vc-rcs-working-revision (file) "RCS-specific version of `vc-working-revision'."