From f18d9fdfa96cb699113714fd24c0860eef973556 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): Select '-q' on OpenBSD too. --- 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 @@ find-ls-subdir-switches :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.44.0