* lisp/find-dired.el (find-grep-options): Simplify.
authorGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 03:03:07 +0000 (20:03 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 03:03:07 +0000 (20:03 -0700)
lisp/ChangeLog
lisp/find-dired.el

index 043e12e..96f3b03 100644 (file)
@@ -1,5 +1,7 @@
 2011-06-30  Glenn Morris  <rgm@gnu.org>
 
+       * find-dired.el (find-grep-options): Simplify.
+
        * term/ns-win.el (ns-set-resource): Declare.
 
        * ses.el (row, col): Declare dynamic variables honestly.
index a2b196d..491110b 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.