aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Spiegel1998-06-03 15:07:04 +0000
committerAndré Spiegel1998-06-03 15:07:04 +0000
commitc06b6e6f7bae841ae291392c481e6117a130a8a0 (patch)
treeec2ae474d00d376323672ba4e265ea453330a891
parentad077db084860c8c8e3f94221c20dd3ce3dea97e (diff)
downloademacs-c06b6e6f7bae841ae291392c481e6117a130a8a0.tar.gz
emacs-c06b6e6f7bae841ae291392c481e6117a130a8a0.zip
(vc-dired-hook): Kill excluded directories recursively.
-rw-r--r--lisp/vc.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 51d3748943b..25d8f26ee1f 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -5,7 +5,7 @@
5;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 5;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
6;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> 6;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de>
7 7
8;; $Id: vc.el,v 1.226 1998/05/16 03:44:16 rms Exp rms $ 8;; $Id: vc.el,v 1.227 1998/05/16 17:53:32 rms Exp spiegel $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -1725,7 +1725,10 @@ There is a special command, `*l', to mark all files currently locked."
1725 ((file-directory-p filename) 1725 ((file-directory-p filename)
1726 (if (member (file-name-nondirectory filename) 1726 (if (member (file-name-nondirectory filename)
1727 vc-directory-exclusion-list) 1727 vc-directory-exclusion-list)
1728 (dired-kill-line) 1728 (let ((pos (point)))
1729 (dired-kill-tree filename)
1730 (goto-char pos)
1731 (dired-kill-line))
1729 (vc-dired-reformat-line nil) 1732 (vc-dired-reformat-line nil)
1730 (forward-line 1))) 1733 (forward-line 1)))
1731 ((if cvs-dir 1734 ((if cvs-dir