diff options
| author | Richard M. Stallman | 1996-11-12 06:04:05 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-11-12 06:04:05 +0000 |
| commit | 9f18e6194481b95efc8bb0b4349a24d3c3704268 (patch) | |
| tree | 62e39cb7c6166fd133a4778133e2ea842f753b4c /lisp | |
| parent | 41d44f1fe61e554727ca07b2509ccd814ef2553a (diff) | |
| download | emacs-9f18e6194481b95efc8bb0b4349a24d3c3704268.tar.gz emacs-9f18e6194481b95efc8bb0b4349a24d3c3704268.zip | |
(find-grep-options): Treat solaris, irix like BSD.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/find-dired.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 2b945dddc9e..9fa21487d7e 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. | |||
| 38 | LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.") | 38 | LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.") |
| 39 | 39 | ||
| 40 | ;;;###autoload | 40 | ;;;###autoload |
| 41 | (defvar find-grep-options (if (eq system-type 'berkeley-unix) "-s" "-q") | 41 | (defvar find-grep-options |
| 42 | (if (or (eq system-type 'berkeley-unix) | ||
| 43 | (string-match "solaris2" system-configuration) | ||
| 44 | (string-match "irix" system-configuration)) | ||
| 45 | "-s" "-q") | ||
| 42 | "*Option to grep to be as silent as possible. | 46 | "*Option to grep to be as silent as possible. |
| 43 | On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it. | 47 | On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it. |
| 44 | On other systems, the closest you can come is to use `-l'.") | 48 | On other systems, the closest you can come is to use `-l'.") |