master f7386d2ce88 1/2: vc-dir-resynch-file: Don't insert ignored files

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit f7386d2ce88d8e99a28b0a325df60074eb718d7b
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    vc-dir-resynch-file: Don't insert ignored files
    
    * lisp/vc/vc-dir.el (vc-dir-resynch-file): Don't insert ignored
    files.
---
 lisp/vc/vc-dir.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index d0711da91c8..814e9a6335b 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -1436,7 +1436,7 @@ Also removes any out-of-date entries in `vc-dir-buffers'."
               (vc-dir-update (list complete-state)
                              status-buf
                              (or (not state)
-				 (eq state 'up-to-date))))))))))
+                                 (memq state vc-dir--up-to-date-states))))))))))
 
 (defvar use-vc-backend)  ;; dynamically bound
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.