changeset 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 818b4291c99a
children 7a64dd146336
files lisp/ChangeLog lisp/progmodes/grep.el lisp/vc-hooks.el
diffstat 3 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 02 14:23:22 2008 +0000
+++ b/lisp/ChangeLog	Wed Jan 02 23:47:35 2008 +0000
@@ -1,3 +1,11 @@
+2008-01-02  Eric S. Raymond  <esr@snark.thyrsus.com>
+
+	* 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.
+
 2008-01-02  Karl Fogel  <kfogel@red-bean.com>
 
 	Change a return type, for greater extensibility.  See
--- 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)
--- a/lisp/vc-hooks.el	Wed Jan 02 14:23:22 2008 +0000
+++ b/lisp/vc-hooks.el	Wed Jan 02 23:47:35 2008 +0000
@@ -76,9 +76,10 @@
   :version "23.1"
   :group 'vc)
 
+;; Note: we don't actually have a darcs back end yet.
 (defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" 
 					 ".svn" ".git" ".hg" ".bzr" 
-					 "_MTN" "{arch}")
+					 "_MTN" "_darcs" "{arch}")
   "List of directory names to be ignored when walking directory trees."
   :type '(repeat string)
   :group 'vc)