Variable: find-grep-options
find-grep-options is a customizable variable defined in
find-dired.el.gz.
Value
"-q"
Documentation
Option to grep to be as silent as possible.
On Berkeley systems, this is -s; on Posix, and with GNU grep, -q does it.
On other systems, the closest you can come is to use -l.
Source Code
;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
(defcustom find-grep-options
(if (or (eq system-type 'berkeley-unix)
(string-match "solaris2" system-configuration))
"-s" "-q")
"Option to grep to be as silent as possible.
On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it.
On other systems, the closest you can come is to use `-l'."
:type 'string
:group 'find-dired)