emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/detached 69fca1eaa7 2/3: Use explicit grep arguments


From: ELPA Syncer
Subject: [elpa] externals/detached 69fca1eaa7 2/3: Use explicit grep arguments
Date: Fri, 23 Sep 2022 09:57:28 -0400 (EDT)

branch: externals/detached
commit 69fca1eaa74391838130b1d87286612c3291b42c
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Use explicit grep arguments
---
 detached-list.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/detached-list.el b/detached-list.el
index 3d3d09cb63..3e3626884a 100644
--- a/detached-list.el
+++ b/detached-list.el
@@ -229,9 +229,11 @@ Optionally SUPPRESS-OUTPUT."
                                                           sessions))
                                                 (grep-command
                                                  (string-join 
`(,detached-grep-program
-                                                                "-l"
+                                                                
"--files-with-matches"
                                                                 ,@includes
-                                                                "-snir"
+                                                                "--no-messages"
+                                                                "--ignore-case"
+                                                                "--recursive"
                                                                 ,(format 
"\"%s\"" regexp))
                                                               " ")))
                                      (split-string



reply via email to

[Prev in Thread] Current Thread [Next in Thread]