Variable: grep-find-ignored-directories
grep-find-ignored-directories is a customizable variable defined in
grep.el.gz.
Value
("SCCS" "RCS" "CVS" "MCVS" ".src" ".svn" ".git" ".hg" ".bzr" "_MTN"
"_darcs" "{arch}")
Documentation
List of names of sub-directories which rgrep shall not recurse into.
If an element is a cons cell, the car is called on the search directory to determine whether cdr should not be recursed into.
The default value is inherited from vc-directory-exclusion-list.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defcustom grep-find-ignored-directories vc-directory-exclusion-list
"List of names of sub-directories which `rgrep' shall not recurse into.
If an element is a cons cell, the car is called on the search directory
to determine whether cdr should not be recursed into.
The default value is inherited from `vc-directory-exclusion-list'."
:type '(choice (repeat :tag "Ignored directories" string)
(const :tag "No ignored directories" nil)))