aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-06-20 17:05:55 +0000
committerDan Nicolaescu2008-06-20 17:05:55 +0000
commit3114c2523ade375d8c3ac171af23ee8e49f3c819 (patch)
tree25ba69d95c4fec290dac47d65b2a095ab3b91900
parentb260aab7e0f28c6fa97558845c285107963abc85 (diff)
downloademacs-3114c2523ade375d8c3ac171af23ee8e49f3c819.tar.gz
emacs-3114c2523ade375d8c3ac171af23ee8e49f3c819.zip
(vc-dir-hide-up-to-date): Undo previous change.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc.el13
2 files changed, 8 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1e207f74f92..fd0505fa867 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-06-20 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc.el (vc-dir-hide-up-to-date): Undo previous change.
4
12008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> 52008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error): 7 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
diff --git a/lisp/vc.el b/lisp/vc.el
index c8a5c9785a4..0507bf72130 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2014,17 +2014,12 @@ outside of VC) and one wants to do some operation on it."
2014 (interactive "fShow file: ") 2014 (interactive "fShow file: ")
2015 (vc-dir-update (list (list (file-relative-name file) (vc-state file))) (current-buffer))) 2015 (vc-dir-update (list (list (file-relative-name file) (vc-state file))) (current-buffer)))
2016 2016
2017(defun vc-dir-hide-up-to-date (&optional drop-directory) 2017(defun vc-dir-hide-up-to-date ()
2018 "Hide up-to-date items from display. 2018 "Hide up-to-date items from display."
2019With a prefix argument, also drop DIRECTORY entries." 2019 (interactive)
2020 (interactive "P")
2021 (ewoc-filter 2020 (ewoc-filter
2022 vc-ewoc 2021 vc-ewoc
2023 (if drop-directory 2022 (lambda (crt) (not (eq (vc-dir-fileinfo->state crt) 'up-to-date)))))
2024 (lambda (crt)
2025 (not (or (eq (vc-dir-fileinfo->state crt) 'up-to-date)
2026 (vc-dir-fileinfo->directory crt))))
2027 (lambda (crt) (not (eq (vc-dir-fileinfo->state crt) 'up-to-date))))))
2028 2023
2029(defun vc-default-status-fileinfo-extra (backend file) 2024(defun vc-default-status-fileinfo-extra (backend file)
2030 "Default absence of extra information returned for a file." 2025 "Default absence of extra information returned for a file."