diff lisp/progmodes/grep.el @ 91302:56a72e2bd635

Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
author Miles Bader <miles@gnu.org>
date Sat, 29 Dec 2007 02:39:17 +0000
parents 53108e6cea98 cdd30283527d
children 606f2d163a64
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Fri Dec 28 02:13:20 2007 +0000
+++ b/lisp/progmodes/grep.el	Sat Dec 29 02:39:17 2007 +0000
@@ -839,10 +839,10 @@
 		      grep-find-template
 		      regexp
 		      (concat (shell-quote-argument "(")
-			      " -name "
+			      " " find-name-arg " "
 			      (mapconcat #'shell-quote-argument
 					 (split-string files)
-					 " -o -name ")
+					 (concat " -o " find-name-arg " "))
 			      " "
 			      (shell-quote-argument ")"))
 		       dir