changeset 79589:05774558f6e1

(rgrep): Use find-name-arg.
author Jason Rumney <jasonr@gnu.org>
date Fri, 21 Dec 2007 10:32:55 +0000
parents 7f97528cec7f
children cc015ff27fe4
files lisp/progmodes/grep.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Fri Dec 21 10:32:38 2007 +0000
+++ b/lisp/progmodes/grep.el	Fri Dec 21 10:32:55 2007 +0000
@@ -750,10 +750,10 @@
 		      grep-find-template
 		      regexp
 		      (concat (shell-quote-argument "(")
-			      " -name "
+			      " " find-name-arg " "
 			      (mapconcat #'shell-quote-argument
 					 (split-string files)
-					 " -o -name ")
+					 " -o " find-name-arg " ")
 			      " "
 			      (shell-quote-argument ")"))
 		       dir