]> code.delx.au - gnu-emacs/blobdiff - lisp/find-dired.el
* lisp/find-dired.el (find-grep-options): Simplify.
[gnu-emacs] / lisp / find-dired.el
index a2b196dc0292dcb6f0e25dd66857407c2acda799..491110bc898521243e5c57c40d1dcd05dad11ed5 100644 (file)
@@ -86,8 +86,7 @@ them for `find-ls-option'."
 
 (defcustom find-grep-options
   (if (or (eq system-type 'berkeley-unix)
-         (string-match "solaris2" system-configuration)
-         (string-match "irix" system-configuration))
+         (string-match "solaris2\\|irix" 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.