aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/find-dired.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-11-12 06:04:05 +0000
committerRichard M. Stallman <[email protected]>1996-11-12 06:04:05 +0000
commit9f18e6194481b95efc8bb0b4349a24d3c3704268 (patch)
tree62e39cb7c6166fd133a4778133e2ea842f753b4c /lisp/find-dired.el
parent41d44f1fe61e554727ca07b2509ccd814ef2553a (diff)
(find-grep-options): Treat solaris, irix like BSD.
Diffstat (limited to 'lisp/find-dired.el')
-rw-r--r--lisp/find-dired.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 2b945dddc9..9fa21487d7 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -38,7 +38,11 @@ gives the option (or options) to `find' that produce the desired output.
LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.")
;;;###autoload
-(defvar find-grep-options (if (eq system-type 'berkeley-unix) "-s" "-q")
+(defvar find-grep-options
+ (if (or (eq system-type 'berkeley-unix)
+ (string-match "solaris2" system-configuration)
+ (string-match "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.
On other systems, the closest you can come is to use `-l'.")