# HG changeset patch # User Eric S. Raymond # Date 1199317655 0 # Node ID fe5c2c0f8dcfef06433094b2fb9c1b371ae80ea1 # Parent 818b4291c99a009ff4148593c8d7b5a99cda238d * 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. diff -r 818b4291c99a -r fe5c2c0f8dcf lisp/ChangeLog --- 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 + + * 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 Change a return type, for greater extensibility. See diff -r 818b4291c99a -r fe5c2c0f8dcf lisp/progmodes/grep.el --- 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) diff -r 818b4291c99a -r fe5c2c0f8dcf lisp/vc-hooks.el --- 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)