]> git.eshelyaron.com Git - emacs.git/commitdiff
(rgrep): Use find-name-arg.
authorJason Rumney <jasonr@gnu.org>
Fri, 21 Dec 2007 10:32:55 +0000 (10:32 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 21 Dec 2007 10:32:55 +0000 (10:32 +0000)
lisp/progmodes/grep.el

index baa59c764fdafba12602db972a53bd6dc69bfee6..ecc386404c6bff9e33b3a324e1d82369d41c4d44 100644 (file)
@@ -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