+2008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc.el (vc-dir-hide-up-to-date): Undo previous change.
+
2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
(interactive "fShow file: ")
(vc-dir-update (list (list (file-relative-name file) (vc-state file))) (current-buffer)))
-(defun vc-dir-hide-up-to-date (&optional drop-directory)
- "Hide up-to-date items from display.
-With a prefix argument, also drop DIRECTORY entries."
- (interactive "P")
+(defun vc-dir-hide-up-to-date ()
+ "Hide up-to-date items from display."
+ (interactive)
(ewoc-filter
vc-ewoc
- (if drop-directory
- (lambda (crt)
- (not (or (eq (vc-dir-fileinfo->state crt) 'up-to-date)
- (vc-dir-fileinfo->directory crt))))
- (lambda (crt) (not (eq (vc-dir-fileinfo->state crt) 'up-to-date))))))
+ (lambda (crt) (not (eq (vc-dir-fileinfo->state crt) 'up-to-date)))))
(defun vc-default-status-fileinfo-extra (backend file)
"Default absence of extra information returned for a file."