[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [contrib] find-dired-by-name
From: |
Stefan Monnier |
Subject: |
Re: [contrib] find-dired-by-name |
Date: |
Tue, 13 Nov 2001 09:52:37 -0500 |
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Any objections to adding this to find-dired?
>
> (defun find-dired-by-name(directory pattern)
> "Find files in the given directory that match the given pattern."
> (interactive
> (list
> (read-file-name "Find within directory: " nil default-directory)
> (read-string "File name pattern (regexp is acceptable): ")))
>
> (find-dired directory (concat "-name " pattern)))
How about changing the default for find-args to "-name" instead ?
Stefan