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 (and (eq system-type 'berkeley-unix)
               (not (string-match "openbsd" system-configuration)))
	  (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)