From e22e51d1d41c052ec3bd75af917bd26dfe913af1 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 24 Apr 2024 16:10:43 +0200 Subject: [PATCH] Fix `find-grep-dired' with default OpenBSD's Grep * lisp/find-dired.el (find-grep-options): Use '-q' on OpenBSD as well. (Bug#70550) (cherry picked from commit b761a381066ca2fdeb510c0d5a88be58b524685d) --- lisp/find-dired.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 41581cc7900..fa0c034c816 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -120,7 +120,8 @@ them for `find-ls-option'." :group 'find-dired) (defcustom find-grep-options - (if (or (eq system-type 'berkeley-unix) + (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. -- 2.39.5