]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix `find-grep-dired' with default OpenBSD's Grep
authorManuel Giraud <manuel@ledu-giraud.fr>
Wed, 24 Apr 2024 14:10:43 +0000 (16:10 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 29 Apr 2024 15:04:59 +0000 (17:04 +0200)
* lisp/find-dired.el (find-grep-options): Use '-q' on
OpenBSD as well.  (Bug#70550)

(cherry picked from commit b761a381066ca2fdeb510c0d5a88be58b524685d)

lisp/find-dired.el

index 41581cc7900448dfa4a1af90394f20f77dbdada0..fa0c034c81615bdb2ae229e87900d17ba2a6503f 100644 (file)
@@ -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.