Mercurial > emacs
comparison lisp/find-dired.el @ 43775:8d961db28893
(find-name-dired): Use shell-quote-argument.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 08 Mar 2002 09:35:44 +0000 |
parents | cc5a0eac67cf |
children | f19c8ff457df |
comparison
equal
deleted
inserted
replaced
43774:88569453a212 | 43775:8d961db28893 |
---|---|
157 The command run (after changing into DIR) is | 157 The command run (after changing into DIR) is |
158 | 158 |
159 find . -name 'PATTERN' -ls" | 159 find . -name 'PATTERN' -ls" |
160 (interactive | 160 (interactive |
161 "DFind-name (directory): \nsFind-name (filename wildcard): ") | 161 "DFind-name (directory): \nsFind-name (filename wildcard): ") |
162 (find-dired dir (concat "-name '" pattern "'"))) | 162 (find-dired dir (concat "-name '" (shell-quote-argument pattern) "'"))) |
163 | 163 |
164 ;; This functionality suggested by | 164 ;; This functionality suggested by |
165 ;; From: oblanc@watcgl.waterloo.edu (Olivier Blanc) | 165 ;; From: oblanc@watcgl.waterloo.edu (Olivier Blanc) |
166 ;; Subject: find-dired, lookfor-dired | 166 ;; Subject: find-dired, lookfor-dired |
167 ;; Date: 10 May 91 17:50:00 GMT | 167 ;; Date: 10 May 91 17:50:00 GMT |