Eli Zaretskii wrote:
>> Date: Thu, 20 Dec 2007 17:10:03 -0800
>> From: "Eric Hanchrow" <[EMAIL PROTECTED]>
>>
>> -  (find-dired dir (concat "-name " (shell-quote-argument pattern))))
>> +  (find-dired dir (concat
>> +                   (if (memq system-type '(windows-nt cygwin))
>> +                       "-iname "
>> +                     "-name ")
>> +                   (shell-quote-argument pattern))))
>>     
>
> IMO, this should be conditioned on a user option.  Not everyone wants
> to get readme.txt together with README, for example.
>   

I added a new option find-name-arg, defaulting to the value of
read-file-name-completion-ignore-case (as its likely that users who want
one will want the other, if not, the option can still be overridden).

I also changed find-dired to use find-program and grep-program, rather
than having its own option for the former and hardcoding the latter.



Reply via email to