Subject: Re: bug#16045: 24.3.50; rgrep can't work

From: Stefan Monnier <[email-masked]>
Date: Wed, 04 Dec 2013 14:10:31 -0500

> @@ -1005,7 +1005,9 @@ to specify a command to run."
>  			      (mapconcat
>  			       #'shell-quote-argument
>  			       (split-string files)
> -			       (concat "\\\n" " -o " find-name-arg " "))
> +			       (concat
> +				(if (file-remote-p dir) "\\\n")
> +				" -o " find-name-arg " "))
>  			      " "
>  			      (shell-quote-argument ")"))
>  		      dir

Yuck!  The fix should be in Tramp, not here.

        Stefan