diff lisp/progmodes/grep.el @ 87523:fe5c2c0f8dcf

* progmodes/grep.el (grep-find-ignored-directories): Initialize from the value of vc-directory-exclusion-list. * vc-hooks (vc-directory-exclusion-list): Include "_darcs", even though we don't have a back end for darcs yet.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Wed, 02 Jan 2008 23:47:35 +0000
parents cdd30283527d
children 62e8690b9f1a
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Wed Jan 02 14:23:22 2008 +0000
+++ b/lisp/progmodes/grep.el	Wed Jan 02 23:47:35 2008 +0000
@@ -158,15 +158,7 @@
   :group 'grep)
 
 (defcustom grep-find-ignored-directories
-  '(".bzr"
-    ".git"
-    ".hg"
-    ".svn"
-    "CVS"
-    "RCS"
-    "_MTN"
-    "_darcs"
-    "{arch}")
+  vc-directory-exclusion-list
   "*List of names of sub-directories which `rgrep' shall not recurse into."
   :type '(repeat string)
   :group 'grep)