From 34fac407db7653a740a7aca123b574e793de0d66 Mon Sep 17 00:00:00 2001
From: Jason Rumney <jasonr@gnu.org>
Date: Fri, 21 Dec 2007 10:32:55 +0000
Subject: [PATCH] (rgrep): Use find-name-arg.

---
 lisp/progmodes/grep.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index baa59c764fd..ecc386404c6 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -750,10 +750,10 @@ This command shares argument histories with \\[lgrep] and \\[grep-find]."
 		      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
-- 
2.39.5