From: Jason Rumney <jasonr@gnu.org>
Date: Fri, 21 Dec 2007 10:32:55 +0000 (+0000)
Subject: (rgrep): Use find-name-arg.
X-Git-Tag: emacs-pretest-22.1.90~247
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34fac407db7653a740a7aca123b574e793de0d66;p=emacs.git

(rgrep): Use find-name-arg.
---

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