]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/grep.el (grep-find-ignored-directories): Initialize
authorEric S. Raymond <esr@snark.thyrsus.com>
Wed, 2 Jan 2008 23:47:35 +0000 (23:47 +0000)
committerEric S. Raymond <esr@snark.thyrsus.com>
Wed, 2 Jan 2008 23:47:35 +0000 (23:47 +0000)
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.

lisp/ChangeLog
lisp/progmodes/grep.el
lisp/vc-hooks.el

index cc089335e4b9ee08ad70178343b657a566f657d5..0d2b52b5d956824328561e8540781a51ad08ee0d 100644 (file)
@@ -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
index 062fce4c346adeacd6d2f4469b41ccd277eab7a2..101e8f12e3f44d67cb77c13295f82a9e4aa150ff 100644 (file)
@@ -158,15 +158,7 @@ The following place holders should be present in the string:
   :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)
index 39550da80182698a38a3755dfc3c0db19462c2f9..287605f338c43e5321d0baf22d92d81380f5fdd2 100644 (file)
@@ -76,9 +76,10 @@ An empty list disables VC altogether."
   :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)